1
This commit is contained in:
parent
759e8384dd
commit
731f4bdd91
@ -284,7 +284,6 @@ func OAuth2Callback(ctx *gin.Context) {
|
||||
_, err := service.CastProvider.OAuthCodeToToken(ctx, req)
|
||||
if err != nil {
|
||||
zap.L().Info("OAuth2Callback error", zap.Error(err))
|
||||
|
||||
ctx.Redirect(http.StatusFound, fmt.Sprintf("%s?%s", config.AppConfig.System.AuthRedirectUrl, "status=1"))
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user