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