]> source.dussan.org Git - gitea.git/commit
Return `access_denied` error when an OAuth2 request is denied (#30974) (#31029)
authorGiteabot <teabot@gitea.io>
Mon, 20 May 2024 14:49:04 +0000 (22:49 +0800)
committerGitHub <noreply@github.com>
Mon, 20 May 2024 14:49:04 +0000 (22:49 +0800)
commit8a259e54c56774ca656eedede128362638874a22
tree8cb9080f66ec2d57c48e32580c978e2d9b71550f
parent8663a351d1a7220e4e4f15d9d9cbf0303e8333e3
Return `access_denied` error when an OAuth2 request is denied (#30974) (#31029)

Backport #30974 by Zettat123

Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
routers/web/auth/oauth.go
services/forms/user_form.go
templates/user/auth/grant.tmpl