Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CodeChallenge/api/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion CodeChallenge/templates/challenge_account_confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@
<p><b>{{name}}, your account has been created.</b></p>
<br/>
<p>Login: {{username}}</p>
<p>Password: {{password}}</p>
<br/>
<p>Forgot your password? <a href="https://challenge.codewizardshq.com/forgot-password">Reset your password.</a></p>
</td>
Expand Down