From 4e2694c9dff47d0193699bf7ae27517241efaa04 Mon Sep 17 00:00:00 2001 From: ZEZE1020 Date: Mon, 13 Jan 2025 02:00:31 +0300 Subject: [PATCH] authentication method reconfiger --- social_media_api/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/social_media_api/settings.py b/social_media_api/settings.py index 3ddffb1..4e2857d 100644 --- a/social_media_api/settings.py +++ b/social_media_api/settings.py @@ -77,7 +77,7 @@ LOGIN_REDIRECT_URL = '/' LOGOUT_REDIRECT_URL = '/' -ACCOUNT_AUTHENTICATION_METHOD = 'username' + # Email Verification ACCOUNT_EMAIL_VERIFICATION = 'none' ACCOUNT_EMAIL_REQUIRED = False @@ -91,8 +91,8 @@ # Allauth settings -ACCOUNT_AUTHENTICATION_METHOD = 'username_email' -ACCOUNT_EMAIL_VERIFICATION = 'mandatory' +ACCOUNT_AUTHENTICATION_METHOD = 'username' +#ACCOUNT_EMAIL_VERIFICATION = 'mandatory' TEMPLATES = [