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 0109a9b commit 0497101Copy full SHA for 0497101
routers/user/auth.go
@@ -574,10 +574,12 @@ func SignInOAuth(ctx *context.Context) {
574
if strings.Contains(err.Error(), "no provider for ") {
575
if err = models.ResetOAuth2(); err != nil {
576
ctx.ServerError("SignIn", err)
577
+ return
578
}
579
if err = oauth2.Auth(loginSource.Name, ctx.Req.Request, ctx.Resp); err != nil {
580
581
582
583
584
585
0 commit comments