emails: Confirmation emails should come from the NOREPLY address.

This prevents users from accidentally sending a confirmation link
specific to their account to their Zulip administrator if they reply
to the invitation, invitation reminder, account confirmation, or new
email confirmation emails.
This commit is contained in:
James Rowan
2017-07-05 13:02:02 -04:00
committed by Tim Abbott
parent df4b306c20
commit 0951666cbb
3 changed files with 4 additions and 4 deletions

View File

@@ -180,7 +180,7 @@ class ConfirmationEmailWorker(QueueProcessingWorker):
send_future_email(
"zerver/emails/invitation_reminder",
data["email"],
from_address=FromAddress.SUPPORT,
from_address=FromAddress.NOREPLY,
context=context,
delay=datetime.timedelta(days=2))