mirror of
https://github.com/go-gitea/gitea
synced 2024-12-25 01:54:26 +00:00
parent
aecd9231ba
commit
30226b4793
@ -302,6 +302,7 @@ func GrantApplicationOAuth(ctx *context.Context, form auth.GrantApplicationForm)
|
|||||||
redirect, err := code.GenerateRedirectURI(form.State)
|
redirect, err := code.GenerateRedirectURI(form.State)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
handleServerError(ctx, form.State, form.RedirectURI)
|
handleServerError(ctx, form.State, form.RedirectURI)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
ctx.Redirect(redirect.String(), 302)
|
ctx.Redirect(redirect.String(), 302)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user