Skip to content

Commit 3c2c8a4

Browse files
committed
Remove email related settings and disable email verification
1 parent 3741eed commit 3c2c8a4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Diff for: oshc/oshc/settings.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,9 @@
158158
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
159159

160160
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'main/'), )
161-
162-
EMAIL_HOST = 'smtp.gmail.com'
163-
EMAIL_HOST_USER = 'email'
164-
EMAIL_HOST_PASSWORD = 'password'
165-
EMAIL_PORT = 587
166-
EMAIL_USE_TLS = True
167161
LOGIN_REDIRECT_URL = "/"
168162

169163
CRISPY_TEMPLATE_PACK = 'bootstrap3'
164+
165+
# Allauth settings
166+
ACCOUNT_EMAIL_VERIFICATION = None # Disable email verification of new user

0 commit comments

Comments
 (0)