Skip to content

Commit

Permalink
email: Move and rename preregistrationuser_confirmation_email templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
rishig committed May 4, 2017
1 parent aa21012 commit ed0c310
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/check-templates
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def check_html_templates(templates, all_dups):
'templates/confirmation/confirm_email_change.html',
'templates/zerver/emails/confirm_new_email.html',
'templates/confirmation/invite_email.html',
'templates/confirmation/preregistrationuser_confirmation_email.html',
'templates/zerver/emails/confirm_registration.html',
'templates/corporate/zephyr-mirror.html',
'templates/corporate/zephyr.html',
'templates/zerver/api.html',
Expand Down
2 changes: 1 addition & 1 deletion zerver/views/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def send_registration_completion_email(email, request, realm_creation=False):
Send an email with a confirmation link to the provided e-mail so the user
can complete their registration.
"""
template_prefix = 'confirmation/preregistrationuser_confirmation_email'
template_prefix = 'zerver/emails/confirm_registration'
# Note: to make the following work in the non-subdomains case, you'll
# need to copy the logic from the beginning of accounts_register to
# figure out which realm the user is trying to sign up for, and then
Expand Down

0 comments on commit ed0c310

Please sign in to comment.