fix missing return (#6751) (#6756)

release/v1.8
Lunny Xiao 5 years ago committed by techknowlogick
parent aecd9231ba
commit 30226b4793

@ -302,6 +302,7 @@ func GrantApplicationOAuth(ctx *context.Context, form auth.GrantApplicationForm)
redirect, err := code.GenerateRedirectURI(form.State)
if err != nil {
handleServerError(ctx, form.State, form.RedirectURI)
return
}
ctx.Redirect(redirect.String(), 302)
}

Loading…
Cancel
Save