mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
Verification code email fixup (#6402)
* [share link] email address verification: fixed the content in the 'verification code' email * [share link] email address verification: improvement for the 'verification code' email
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<p style="color:#121214;font-size:14px;">{% trans "Hi," %}</p>
|
<p style="color:#121214;font-size:14px;">{% trans "Hi," %}</p>
|
||||||
|
|
||||||
<p style="font-size:14px;color:#434144;">
|
<p style="font-size:14px;color:#434144;">
|
||||||
{% blocktrans %}The verification code is {{code}}, and it will be valid in one hour.{% endblocktrans%}
|
{% blocktrans %}The verification code is {{code}}. It is valid for one hour.{% endblocktrans%}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
|
@@ -372,7 +372,7 @@ def ajax_get_link_email_audit_code(request):
|
|||||||
cache.set(cache_key, code, 60 * 60)
|
cache.set(cache_key, code, 60 * 60)
|
||||||
|
|
||||||
# send code to user via email
|
# send code to user via email
|
||||||
subject = _("The verification code")
|
subject = _("Verification code")
|
||||||
c = {'code': code}
|
c = {'code': code}
|
||||||
|
|
||||||
send_success = send_html_email_with_dj_template(email,
|
send_success = send_html_email_with_dj_template(email,
|
||||||
|
Reference in New Issue
Block a user