From 0baa205ad361ff64bc8fb4e5198ec3b3d9fc68c4 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 8 Jan 2020 21:55:00 -0800 Subject: [PATCH] find_team: Send find team emails from the support address. This is for consistency with the email's body, which claims replying directly will work. --- zerver/views/registration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zerver/views/registration.py b/zerver/views/registration.py index dee9393ce2..6d90435b08 100644 --- a/zerver/views/registration.py +++ b/zerver/views/registration.py @@ -540,7 +540,8 @@ def find_account(request: HttpRequest) -> HttpResponse: context.update({ 'email': user.delivery_email, }) - send_email('zerver/emails/find_team', to_user_ids=[user.id], context=context) + send_email('zerver/emails/find_team', to_user_ids=[user.id], context=context, + from_address=FromAddress.SUPPORT) # Note: Show all the emails in the result otherwise this # feature can be used to ascertain which email addresses