1
0
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:
llj
2024-07-23 15:28:51 +08:00
committed by GitHub
parent 0fd8c9275a
commit e74921f952
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<p style="color:#121214;font-size:14px;">{% trans "Hi," %}</p>
<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>
{% endautoescape %}

View File

@@ -372,7 +372,7 @@ def ajax_get_link_email_audit_code(request):
cache.set(cache_key, code, 60 * 60)
# send code to user via email
subject = _("The verification code")
subject = _("Verification code")
c = {'code': code}
send_success = send_html_email_with_dj_template(email,