0001-custom_user-remove-broken-email-validation-40200.patch
src/authentic2/custom_user/models.py | ||
---|---|---|
29 | 29 |
from django_rbac.models import PermissionMixin |
30 | 30 |
from django_rbac.utils import get_role_parenting_model |
31 | 31 | |
32 |
from authentic2 import utils, validators, app_settings
|
|
32 |
from authentic2 import utils, app_settings |
|
33 | 33 |
from authentic2.decorators import errorcollector, RequestCache |
34 | 34 |
from authentic2.models import Service, AttributeValue, Attribute |
35 | 35 | |
... | ... | |
141 | 141 |
email = models.EmailField( |
142 | 142 |
_('email address'), |
143 | 143 |
blank=True, |
144 |
validators=[validators.EmailValidator], |
|
145 | 144 |
max_length=254) |
146 | 145 |
email_verified = models.BooleanField( |
147 | 146 |
default=False, |
148 |
- |