8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-10 20:06:25 +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 ba05a682f4
commit 51b3c52181

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(