From d9825c320cdd2952bb9a5a0f7371bc8fd2dfe036 Mon Sep 17 00:00:00 2001
From: Sashi20
Date: Mon, 24 Sep 2018 16:31:11 +0530
Subject: Modified login redirect url after password reset complete
---
website/views.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'website/views.py')
diff --git a/website/views.py b/website/views.py
index 3238837..8fe06b3 100644
--- a/website/views.py
+++ b/website/views.py
@@ -224,7 +224,8 @@ def submitcfp(request):
sender_name = "NCCPS 2018"
sender_email = TO_EMAIL
subject = "NCCPS 2018 – Paper Submission Acknowledgement "
- to = (social_user.email, TO_EMAIL, BCC_EMAIL)
+ to = (social_user.email, TO_EMAIL)
+ bcc_email = BCC_EMAIL
message = """
Dear {0},
Thank you for showing interest & submitting a paper proposal at NCCPS-2018
@@ -239,7 +240,7 @@ def submitcfp(request):
'http://dwsim.fossee.in/nccps-2018/view-abstracts/',)
email = EmailMultiAlternatives(
subject, '',
- sender_email, to,
+ sender_email, to, bcc_email
headers={"Content-type": "text/html;charset=iso-8859-1"}
)
email.attach_alternative(message, "text/html")
--
cgit