8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-28 09:53:47 +00:00

Add missing __original_email init

This commit is contained in:
Jean-Romain Garnier 2020-04-17 20:50:47 +02:00 committed by Gabriel Detraz
parent db620e9c90
commit 1a997f81ee

View file

@ -1291,6 +1291,7 @@ class User(
"room": self.can_change_room,
}
self.__original_state = self.state
self.__original_email = self.email
def clean(self, *args, **kwargs):
"""Check if this pseudo is already used by any mailalias.