diff --git a/server/repoman/repoman/controllers/api/users.py b/server/repoman/repoman/controllers/api/users.py index 5228321..3b1d2d2 100644 --- a/server/repoman/repoman/controllers/api/users.py +++ b/server/repoman/repoman/controllers/api/users.py @@ -106,6 +106,8 @@ def delete_user(self, user, format='json'): meta.Session.delete(i.checksum) meta.Session.delete(i.shared) meta.Session.delete(i) + proxy = user.certificate + meta.Session.delete(proxy) meta.Session.delete(user) meta.Session.commit() else: