8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-20 10:23:12 +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 Jean-Romain Garnier
parent e169b51759
commit be5226fcdd

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.