1
0
mirror of https://gitea.com/gitea/tea.git synced 2025-06-30 02:28:33 +02:00
This commit is contained in:
techknowlogick 2025-02-27 23:28:54 -05:00
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