mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-22 12:20:55 +08:00

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: Lunny Xiao <xiaolunwen@gmail.com>