From 3e3040550d4e7f4e2e05b3b8c4ad007d559da133 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Sat, 17 Oct 2020 01:06:24 +0200 Subject: [PATCH] Don't know why, but it solves issue #281 --- users/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models.py b/users/models.py index f3a67917..f67a30da 100755 --- a/users/models.py +++ b/users/models.py @@ -939,8 +939,8 @@ class User( self.state = self.STATE_ACTIVE self.save() if self.state == self.STATE_ARCHIVE or self.state == self.STATE_FULL_ARCHIVE: - self.state = self.STATE_ACTIVE self.unarchive() + self.state = self.STATE_ACTIVE self.save() def set_password(self, password):