From 67cc72d5fabd8b3ec96f6a66d879040b495ceaa6 Mon Sep 17 00:00:00 2001 From: jh-RLI Date: Wed, 23 Oct 2024 12:25:33 +0200 Subject: [PATCH] attempt to fix ci error: set the email field in settings #1895 --- oeplatform/settings.py | 1 + 1 file changed, 1 insertion(+) 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'