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 21f7db2 commit 4121f95Copy full SHA for 4121f95
routers/web/auth/oauth.go
@@ -122,6 +122,8 @@ func SignInOAuthCallback(ctx *context.Context) {
122
}
123
if err, ok := err.(*go_oauth2.RetrieveError); ok {
124
ctx.Flash.Error("OAuth2 RetrieveError: "+err.Error(), true)
125
+ ctx.Redirect(setting.AppSubURL + "/user/login")
126
+ return
127
128
ctx.ServerError("UserSignIn", err)
129
return
0 commit comments