summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
authorSashi202018-09-24 16:31:11 +0530
committerSashi202018-09-24 16:31:11 +0530
commitd9825c320cdd2952bb9a5a0f7371bc8fd2dfe036 (patch)
tree4cf8441bb72d8641ca21aca91474bb37cdff341f /website/views.py
parentbbbddcbde38b4584590f93aa8ed628ad705d546b (diff)
downloadnccps-2018-d9825c320cdd2952bb9a5a0f7371bc8fd2dfe036.tar.gz
nccps-2018-d9825c320cdd2952bb9a5a0f7371bc8fd2dfe036.tar.bz2
nccps-2018-d9825c320cdd2952bb9a5a0f7371bc8fd2dfe036.zip
Modified login redirect url after password reset complete
Diffstat (limited to 'website/views.py')
-rw-r--r--website/views.py5
1 files changed, 3 insertions, 2 deletions
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}, <br><br>
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")