We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51f4f8c commit fde6ff6Copy full SHA for fde6ff6
routers/web/user/auth.go
@@ -617,7 +617,7 @@ func SignInOAuthCallback(ctx *context.Context) {
617
}
618
619
if u == nil {
620
- if !(setting.Service.DisableRegistration || setting.Service.AllowOnlyInternalRegistration) && setting.OAuth2Client.EnableAutoRegistration {
+ if !setting.Service.AllowOnlyInternalRegistration && setting.OAuth2Client.EnableAutoRegistration {
621
// create new user with details from oauth2 provider
622
var missingFields []string
623
if gothUser.UserID == "" {
0 commit comments