Skip to content

Conversation

GiteaBot
Copy link
Collaborator

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 #30790 (comment)

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

Fix go-gitea#30790 (comment)

---------

Co-authored-by: Lunny Xiao <[email protected]>
@GiteaBot GiteaBot added modifies/go Pull requests that update Go code topic/authentication type/bug labels May 21, 2024
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 21, 2024
@GiteaBot GiteaBot added this to the 1.22.0 milestone May 21, 2024
@GiteaBot GiteaBot requested review from delvh and wxiaoguang May 21, 2024 16:24
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels May 21, 2024
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 21, 2024
@lunny lunny enabled auto-merge (squash) May 21, 2024 16:37
@lunny lunny merged commit e3390e2 into go-gitea:release/v1.22 May 21, 2024
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code topic/authentication type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants