8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Merge branch 'fix_unarchived_vente' into 'dev'

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

See merge request re2o/re2o!563
This commit is contained in:
chirac 2020-10-17 01:27:46 +02:00
commit 9a2cae3b8f

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