From 51b12a8decaff918d9c6c4d4b36b6c787381c5de Mon Sep 17 00:00:00 2001 From: catborise Date: Thu, 6 Oct 2022 11:46:16 +0300 Subject: [PATCH] add email config template --- webvirtcloud/settings.py.template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webvirtcloud/settings.py.template b/webvirtcloud/settings.py.template index c35e24a..4d45be1 100644 --- a/webvirtcloud/settings.py.template +++ b/webvirtcloud/settings.py.template @@ -273,6 +273,14 @@ OTP_ENABLED = False LOGIN_REQUIRED_IGNORE_VIEW_NAMES = ["accounts:login", "accounts:email_otp"] +# EMAIL Config +EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' +EMAIL_HOST = 'smtp.gmail.com' +EMAIL_USE_TLS = True +EMAIL_PORT = 587 +EMAIL_HOST_USER = #sender's email-id +EMAIL_HOST_PASSWORD = #password associated with above email-id + # LDAP Config #