From f801b4e1eb920eeedf3d6bf6ba134c3cd73436c4 Mon Sep 17 00:00:00 2001 From: Samuel Hoffman Date: Wed, 19 Feb 2020 17:45:29 -0500 Subject: [PATCH] remove password from account confirmation email --- CodeChallenge/api/users.py | 3 +-- CodeChallenge/templates/challenge_account_confirm.html | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CodeChallenge/api/users.py b/CodeChallenge/api/users.py index 271ff78..2c64337 100644 --- a/CodeChallenge/api/users.py +++ b/CodeChallenge/api/users.py @@ -148,8 +148,7 @@ def register(): name = new_u.studentfirstname or new_u.parentfirstname confirm_email.html = render_template("challenge_account_confirm.html", name=name, - username=new_u.username, - password=password) + username=new_u.username) confirm_email.extra_headers = {"List-Unsubscribe": "%unsubscribe_email%"} # welcome email diff --git a/CodeChallenge/templates/challenge_account_confirm.html b/CodeChallenge/templates/challenge_account_confirm.html index c7c516d..2261017 100644 --- a/CodeChallenge/templates/challenge_account_confirm.html +++ b/CodeChallenge/templates/challenge_account_confirm.html @@ -295,7 +295,6 @@

{{name}}, your account has been created.


Login: {{username}}

-

Password: {{password}}


Forgot your password? Reset your password.