password reset flow: Use default noreply email address.

This commit is contained in:
Rishi Gupta
2017-07-01 18:00:07 -07:00
committed by Tim Abbott
parent c2ee259987
commit 364415bba4

View File

@@ -219,8 +219,7 @@ class ZulipPasswordResetForm(PasswordResetForm):
if not check_subdomain(user_realm.subdomain, attempted_subdomain):
context['attempted_realm'] = get_realm(attempted_subdomain)
send_email('zerver/emails/password_reset', to_email, from_email=from_email,
context=context)
send_email('zerver/emails/password_reset', to_email, context=context)
def save(self, *args, **kwargs):
# type: (*Any, **Any) -> None