mirror of https://github.com/zulip/zulip.git
email: Move and rename mituser_confirmation_email templates.
This commit is contained in:
parent
235abe0b72
commit
aa21012783
|
@ -83,8 +83,8 @@ class TemplateTestCase(ZulipTestCase):
|
|||
'zerver/message_history.html',
|
||||
]
|
||||
unusual = [
|
||||
'confirmation/mituser_confirmation_email.txt',
|
||||
'confirmation/mituser_confirmation_email.subject',
|
||||
'zerver/emails/confirm_registration_mit.txt',
|
||||
'zerver/emails/confirm_registration_mit.subject',
|
||||
'confirmation/mituser_invite_email.txt',
|
||||
'confirmation/mituser_invite_email.subject',
|
||||
'zerver/emails/confirm_new_email.subject',
|
||||
|
|
|
@ -294,7 +294,7 @@ def send_registration_completion_email(email, request, realm_creation=False):
|
|||
if settings.REALMS_HAVE_SUBDOMAINS:
|
||||
realm = get_realm(get_subdomain(request))
|
||||
if realm and realm.is_zephyr_mirror_realm:
|
||||
template_prefix = 'confirmation/mituser_confirmation_email'
|
||||
template_prefix = 'zerver/emails/confirm_registration_mit'
|
||||
|
||||
prereg_user = create_preregistration_user(email, request, realm_creation)
|
||||
context = {'support_email': settings.ZULIP_ADMINISTRATOR,
|
||||
|
|
Loading…
Reference in New Issue