mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 16:22:51 +02:00
Backport #33961 UI fix is not needed.
This commit is contained in:
1 parent
987219ab3c
commit
d6cee7c596
1 file changed
+1
-1
@@ -248,7 +248,7 @@ func AuthorizeOAuth(ctx *context.Context) {
|
|||||||
}, form.RedirectURI)
|
}, form.RedirectURI)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if err := ctx.Session.Set("CodeChallengeMethod", form.CodeChallenge); err != nil {
|
if err := ctx.Session.Set("CodeChallenge", form.CodeChallenge); err != nil {
|
||||||
handleAuthorizeError(ctx, AuthorizeError{
|
handleAuthorizeError(ctx, AuthorizeError{
|
||||||
ErrorCode: ErrorCodeServerError,
|
ErrorCode: ErrorCodeServerError,
|
||||||
ErrorDescription: "cannot set code challenge",
|
ErrorDescription: "cannot set code challenge",
|
||||||
|
|||||||
Reference in new issue
Block a user