aboutsummaryrefslogtreecommitdiffstats
path: root/models/commit_status_test.go
diff options
context:
space:
mode:
authorAnton Khimich <anton.khimich@gmail.com>2021-02-04 15:28:48 -0500
committerGitHub <noreply@github.com>2021-02-04 21:28:48 +0100
commitda7a525c5c96e97126d5932f3a08fabfaef11b46 (patch)
tree943f7f0f7adf17d4d4adceee7b383197f9dccbb5 /models/commit_status_test.go
parent014313134f72ebb2ca57eb2e5cd42726231f8fff (diff)
downloadgitea-da7a525c5c96e97126d5932f3a08fabfaef11b46.tar.gz
gitea-da7a525c5c96e97126d5932f3a08fabfaef11b46.zip
Fix GPG key deletion during account deletion (#14561) (#14569)
Per #14531, deleting a user account will delete the user's GPG keys from the `gpg_key` table but not from `gpg_key_import`, which causes an error when creating an account with the same email and attempting to re-add the same key. This commit deletes all entries from `gpg_key_import` that match any GPG key IDs belonging to the user. Co-authored-by: Anton Khimich <anton.khimicha@mail.utoronto.ca>
Diffstat (limited to 'models/commit_status_test.go')
0 files changed, 0 insertions, 0 deletions