mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
emails: Make confirm new email email come from 'Zulip Account Security.'
This commit is contained in:
@@ -640,7 +640,8 @@ def do_start_email_change_process(user_profile, new_email):
|
||||
activation_url = EmailChangeConfirmation.objects.get_link_for_object(obj, user_profile.realm.host)
|
||||
context = {'realm': user_profile.realm, 'old_email': old_email, 'new_email': new_email,
|
||||
'activate_url': activation_url}
|
||||
send_email('zerver/emails/confirm_new_email', new_email, from_address=FromAddress.NOREPLY, context=context)
|
||||
send_email('zerver/emails/confirm_new_email', new_email, from_name='Zulip Account Security',
|
||||
from_address=FromAddress.NOREPLY, context=context)
|
||||
|
||||
def compute_irc_user_fullname(email):
|
||||
# type: (NonBinaryStr) -> NonBinaryStr
|
||||
|
||||
Reference in New Issue
Block a user