8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00

Don't know why, but it solves issue #281

This commit is contained in:
grisel-davy 2020-10-17 01:06:24 +02:00 committed by Gabriel Detraz
parent 7ac894c168
commit eaf3673587

View file

@ -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):