mirror of
https://gitea.com/gitea/tea.git
synced 2025-06-30 02:28:33 +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
|
// 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user