Verification by email of recovery address.

This commit is contained in:
asadiqbal
2018-12-19 17:58:15 +05:00
parent 1643ee4068
commit e21477c224
12 changed files with 299 additions and 32 deletions

View File

@@ -10,7 +10,11 @@
{% trans "Email Change" %}
</h1>
<p style="color: rgba(0,0,0,.75);">
{% blocktrans %}We received a request to change the e-mail associated with your {{ platform_name }} account from {{ old_email }} to {{ new_email }}. If this is correct, please confirm your new e-mail address by visiting:{% endblocktrans %}
{% if is_secondary_email_change_request %}
{% blocktrans %}We received a request to change the secondary e-mail associated with your {{ platform_name }} account to {{ new_email }}. If this is correct, please confirm your new secondary e-mail address by visiting:{% endblocktrans %}
{% else %}
{% blocktrans %}We received a request to change the e-mail associated with your {{ platform_name }} account from {{ old_email }} to {{ new_email }}. If this is correct, please confirm your new e-mail address by visiting:{% endblocktrans %}
{% endif %}
<br />
</p>

View File

@@ -1,5 +1,9 @@
{% load i18n %}{% autoescape off %}
{% blocktrans %}We received a request to change the e-mail associated with your {{ platform_name }} account from {{ old_email }} to {{ new_email }}. If this is correct, please confirm your new e-mail address by visiting:{% endblocktrans %}
{% if is_secondary_email_change_request %}
{% blocktrans %}We received a request to change the secondary e-mail associated with your {{ platform_name }} account to {{ new_email }}. If this is correct, please confirm your new secondary e-mail address by visiting:{% endblocktrans %}
{% else %}
{% blocktrans %}We received a request to change the e-mail associated with your {{ platform_name }} account from {{ old_email }} to {{ new_email }}. If this is correct, please confirm your new e-mail address by visiting:{% endblocktrans %}
{% endif %}
{{ confirm_link }}

View File

@@ -1,4 +1,8 @@
{% load i18n %}
{% autoescape off %}
{% blocktrans trimmed %}Request to change {{ platform_name }} account e-mail{% endblocktrans %}
{% if is_secondary_email_change_request %}
{% blocktrans trimmed %}Request to change {{ platform_name }} account secondary e-mail{% endblocktrans %}
{% else %}
{% blocktrans trimmed %}Request to change {{ platform_name }} account e-mail{% endblocktrans %}
{% endif %}
{% endautoescape %}