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 781310d commit 257ce61Copy full SHA for 257ce61
routers/web/auth/oauth.go
@@ -953,6 +953,8 @@ func SignInOAuthCallback(ctx *context.Context) {
953
}
954
if err, ok := err.(*go_oauth2.RetrieveError); ok {
955
ctx.Flash.Error("OAuth2 RetrieveError: "+err.Error(), true)
956
+ ctx.Redirect(setting.AppSubURL + "/user/login")
957
+ return
958
959
ctx.ServerError("UserSignIn", err)
960
return
0 commit comments