From 3c2c8a4d535e936b8bacf322fe8b7acb66a69f97 Mon Sep 17 00:00:00 2001 From: Ibrahim Jarif Date: Fri, 5 Jan 2018 22:47:50 +0530 Subject: [PATCH] Remove email related settings and disable email verification --- oshc/oshc/settings.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/oshc/oshc/settings.py b/oshc/oshc/settings.py index 4b15344..6766323 100644 --- a/oshc/oshc/settings.py +++ b/oshc/oshc/settings.py @@ -158,12 +158,9 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STATICFILES_DIRS = (os.path.join(BASE_DIR, 'main/'), ) - -EMAIL_HOST = 'smtp.gmail.com' -EMAIL_HOST_USER = 'email' -EMAIL_HOST_PASSWORD = 'password' -EMAIL_PORT = 587 -EMAIL_USE_TLS = True LOGIN_REDIRECT_URL = "/" CRISPY_TEMPLATE_PACK = 'bootstrap3' + +# Allauth settings +ACCOUNT_EMAIL_VERIFICATION = None # Disable email verification of new user