Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GPG key deletion during account deletion (#14561) #14569

Commits on Feb 4, 2021

  1. Fix GPG key deletion during account deletion, backport of go-gitea#14561

    
    
    Per go-gitea#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.
    Anton Khimich committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    925e6c0 View commit details
    Browse the repository at this point in the history