login-email: Update the content of new email login message.

This PR adds the reset password link in the new login email since
users may want to reset their password in case of some unusual
account activity.
This commit is contained in:
Akash Nimare 2018-09-22 22:50:06 +05:30 committed by Tim Abbott
parent 00821d67bb
commit 85a002ba9a
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Server: {{ realm_uri }} Account: {{ user_email }} Time: {{ login_time }}
<p>Device: {{ device_browser if device_browser else 'An unknown browser' }} on {{ device_os if device_os else 'an unknown operating system' }}.</p>
<p>IP Address: {{ device_ip }}</p>
</blockquote>
<p>If you do not recognize this login activity, or think your account may have been compromised, please contact us immediately at <a href="mailto:{{ support_email }}">{{ support_email }}</a>.</p>
<p>If you do not recognize this login activity, or think your account may have been compromised, please <a href="{{ realm_uri }}/accounts/password/reset/" target="_blank">reset your password</a> or contact us immediately at <a href="mailto:{{ support_email }}">{{ support_email }}</a>.</p>
<p>If you recognize this login activity, you can archive this notice.</p>
<p>Thanks,<br />Zulip Account Security</p>
{% endblock %}

View File

@ -10,7 +10,9 @@ Device: {{ device_browser if device_browser else 'an unknown browser' }} on {{ d
IP Address: {{ device_ip }}
If you do not recognize this login activity, or think your account may have
been compromised, please contact us immediately at {{ support_email }}.
been compromised, please reset your password at
{{ realm_uri }}/accounts/password/reset/
or contact us immediately at {{ support_email }}.
If you recognize this login activity, you can archive this notice.