From be5226fcdd0e4b294b3f1ac2006afd87f75cb005 Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Fri, 17 Apr 2020 20:50:47 +0200 Subject: [PATCH] Add missing __original_email init --- users/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/users/models.py b/users/models.py index d1d8c86a..c9730167 100755 --- a/users/models.py +++ b/users/models.py @@ -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.