[PR #5357] [CLOSED] [#5356] Delete GPG keys with user deletion #17765

Closed
opened 2025-11-02 15:36:01 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5357
Author: @JohnnyLeone
Created: 11/18/2018
Status: Closed

Base: masterHead: fix-gpg-key-deletion


📝 Commits (1)

  • 1730048 [5356] Delete GPG keys with user deletion

📊 Changes

2 files changed (+25 additions, -0 deletions)

View changed files

📝 models/gpg_key.go (+10 -0)
📝 models/user.go (+15 -0)

📄 Description

Had the same issue with my instance. The following code fixed it for me, it extends the actual behavior of the existing functions.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/5357 **Author:** [@JohnnyLeone](https://github.com/JohnnyLeone) **Created:** 11/18/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix-gpg-key-deletion` --- ### 📝 Commits (1) - [`1730048`](https://github.com/go-gitea/gitea/commit/1730048c47d17a0d878bc97fdd92848d44e86a7b) [5356] Delete GPG keys with user deletion ### 📊 Changes **2 files changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `models/gpg_key.go` (+10 -0) 📝 `models/user.go` (+15 -0) </details> ### 📄 Description Had the same issue with my instance. The following code fixed it for me, it extends the actual behavior of the existing functions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 15:36:03 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17765