emails: Make change in email notification come from 'Zulip Account Security.'

This commit is contained in:
James Rowan 2017-07-11 13:54:04 -04:00 committed by Tim Abbott
parent 69f3ca7870
commit 0369a9f3bf
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ def confirm_email_change(request, confirmation_key):
'new_email': new_email, 'new_email': new_email,
} }
send_email('zerver/emails/notify_change_in_email', old_email, send_email('zerver/emails/notify_change_in_email', old_email,
from_address=FromAddress.SUPPORT, context=context) from_name="Zulip Account Security", from_address=FromAddress.SUPPORT,
context=context)
ctx = { ctx = {
'confirmed': confirmed, 'confirmed': confirmed,