diff --git a/oeplatform/settings.py b/oeplatform/settings.py index 1fc14f2ee..812987e43 100644 --- a/oeplatform/settings.py +++ b/oeplatform/settings.py @@ -237,6 +237,7 @@ def external_urls_context_processor(request): COMPRESS_MTIME_DELAY = 0 ACCOUNT_USER_MODEL_USERNAME_FIELD = "name" +ACCOUNT_USER_MODEL_EMAIL_FIELD = "email" # ACCOUNT_EMAIL_REQUIRED = True # ACCOUNT_USERNAME_REQUIRED = False # ACCOUNT_AUTHENTICATION_METHOD = 'email'