Commit 86877dcd authored by alexAubin's avatar alexAubin
Browse files

Fix could_be_deleted definition?

parent 9b1c96f0
Pipeline #66 failed with stage
in 2 minutes and 40 seconds
......@@ -175,7 +175,7 @@ class Member(CoinLdapSyncMixin, AbstractUser):
def could_be_deleted(self):
return self.is_paid_up() and not self.get_active_subscriptions(date=utils.one_year_ago())
return self.is_paid_up(date=utils.one_year_ago()) and not self.get_active_subscriptions(date=utils.one_year_ago())
def set_password(self, new_password, *args, **kwargs):
"""
......
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