8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 06:32:26 +00:00

Merge branch 'hotfix-mail-field-in-user-forms' into 'dev'

Mail->email, hotfix

See merge request federez/re2o!225
This commit is contained in:
chirac 2018-08-05 23:05:14 +02:00
commit 6ddf9d48d1

View file

@ -148,7 +148,7 @@ class UserManager(BaseUserManager):
pseudo=pseudo, pseudo=pseudo,
surname=surname, surname=surname,
name=surname, name=surname,
email=self.normalize_email(mail), email=self.normalize_email(email),
) )
user.set_password(password) user.set_password(password)