summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstatic/website/templates/registration/password_reset_complete.html2
-rw-r--r--website/views.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/static/website/templates/registration/password_reset_complete.html b/static/website/templates/registration/password_reset_complete.html
index 3a9b023..b1eb62a 100755
--- a/static/website/templates/registration/password_reset_complete.html
+++ b/static/website/templates/registration/password_reset_complete.html
@@ -34,7 +34,7 @@
<section id="content" class="main">
<br>
<p>Your password has been reset. </p>
-<p>Please <a href="{% url 'website:cfp' %}">Log in</a> with your new password.</p>
+<p>Please <a href="{% url 'auth:login' %}">Log in</a> with your new password.</p>
</section>
</div>
</div>
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")