mirror of
https://gitea.com/gitea/tea.git
synced 2025-04-10 19:46:10 +02:00
fix lint
This commit is contained in:
parent
d7d45f5ca5
commit
4ca60b599d
@ -182,11 +182,7 @@ func OAuthLoginWithFullOptions(opts OAuthOptions) error {
|
||||
}
|
||||
|
||||
// Create login with token data
|
||||
if err := createLoginFromToken(opts.Name, serverURL.String(), token, opts.Insecure); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return createLoginFromToken(opts.Name, serverURL.String(), token, opts.Insecure)
|
||||
}
|
||||
|
||||
// createHTTPClient creates an HTTP client with optional insecure setting
|
||||
|
Loading…
x
Reference in New Issue
Block a user