8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 00:13:12 +00:00

Leave user email blank / null for compatilibity

This commit is contained in:
Jean-Romain Garnier 2020-04-21 15:01:03 +00:00 committed by Gabriel Detraz
parent 9e1cd17a1b
commit b968f23b65

View file

@ -205,6 +205,8 @@ class User(
validators=[linux_user_validator], validators=[linux_user_validator],
) )
email = models.EmailField( email = models.EmailField(
blank=True,
null=True,
help_text=_("External email address allowing us to contact you."), help_text=_("External email address allowing us to contact you."),
) )
local_email_redirect = models.BooleanField( local_email_redirect = models.BooleanField(