diff --git a/routers/user/auth_openid.go b/routers/user/auth_openid.go index 3f5c9f7248c..e79085e94d4 100644 --- a/routers/user/auth_openid.go +++ b/routers/user/auth_openid.go @@ -415,7 +415,7 @@ func RegisterOpenIDPost(ctx *context.Context) { Name: form.UserName, Email: form.Email, Passwd: password, - IsActive: !setting.Service.RegisterEmailConfirm, + IsActive: !(setting.Service.RegisterEmailConfirm || setting.Service.RegisterManualConfirm), } //nolint: dupl if err := models.CreateUser(u); err != nil {