mirror of https://github.com/go-gitea/gitea.git
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>pull/14573/head^2
parent
014313134f
commit
da7a525c5c
Loading…
Reference in New Issue