From f69c88d8fe14546f33ceb1e4e2adbea85a0b5de3 Mon Sep 17 00:00:00 2001 From: klafyvel Date: Sun, 17 Mar 2019 19:36:44 +0100 Subject: [PATCH] Fix LDAP deletion on single user full archiving. --- users/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models.py b/users/models.py index 59beba1d..823d1f7f 100755 --- a/users/models.py +++ b/users/models.py @@ -618,7 +618,7 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser, """Full Archive = Archive + Service access complete deletion""" self.archive() self.delete_data() - LdapUser.objects.filter(name__in=self.pseudo) + self.ldap_del() def unarchive(self): """Unfilling the user"""