gitea/routers
Giteabot ec4fa231c7
use existing oauth grant for public client (#31015) (#31041)
Backport #31015 by @denyskon

Do not try to create a new authorization grant when one exists already,
thus preventing a DB-related authorization issue.

Fix https://github.com/go-gitea/gitea/pull/30790#issuecomment-2118812426

Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-05-21 17:33:00 +00:00
..
api Fix empty field login_name in API response JSON when creating user (#30511) (#30532) 2024-04-17 11:06:12 +02:00
common Fix incorrect cookie path for AppSubURL (#29534) (#29552) 2024-03-03 08:54:33 +08:00
install Fix validity of the FROM email address not being checked (#29347) (#29360) 2024-02-24 08:23:21 +00:00
private Performance optimization for git push (#30104) (#30354) 2024-04-10 14:12:19 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web use existing oauth grant for public client (#31015) (#31041) 2024-05-21 17:33:00 +00:00
init.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00