We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8e06a9 commit f2a5d1bCopy full SHA for f2a5d1b
routers/web/user/auth.go
@@ -628,7 +628,7 @@ func SignInOAuthCallback(ctx *context.Context) {
628
}
629
630
if u == nil {
631
- if !(setting.Service.DisableRegistration || setting.Service.AllowOnlyInternalRegistration) && setting.OAuth2Client.EnableAutoRegistration {
+ if !setting.Service.AllowOnlyInternalRegistration && setting.OAuth2Client.EnableAutoRegistration {
632
// create new user with details from oauth2 provider
633
var missingFields []string
634
if gothUser.UserID == "" {
0 commit comments