Commit eeab80de authored by Hamza Dely's avatar Hamza Dely
Browse files

[comptes/models] s/user_permissions/droits/

parent b42527cd
......@@ -624,7 +624,7 @@ class Adherent(AbstractBaseUser):
self.email, self.adresse, self.telephone = "nobody@crans.org", "", ""
self.pbsante, self.remarque = "", ""
self.is_superuser, self.is_staff, self.is_active, self.remunere = [False] * 4
self.user_permissions.clear()
self.droits.clear()
for alias in self.aliases.all():
alias.delete()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment