8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +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
parent b0fdeca744
commit 3e3040550d

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