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.
This commit is contained in:
Tim Abbott
2020-01-08 21:55:00 -08:00
parent a8d8500c46
commit 0baa205ad3

View File

@@ -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