summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
author0ko <0ko@noreply.codeberg.org>2024-09-12 17:13:15 +0200
committer0ko <0ko@noreply.codeberg.org>2024-09-12 17:13:15 +0200
commit6c448ae37ee9b7d8dec529c9fef2c5a2201d4b97 (patch)
tree242a46974a0ebe533b8fb929b331bdfe3d33f876 /options
parentMerge pull request 'Port of gitea#31950 and gitea#31973 rebased' (#5306) from... (diff)
downloadforgejo-6c448ae37ee9b7d8dec529c9fef2c5a2201d4b97.tar.xz
forgejo-6c448ae37ee9b7d8dec529c9fef2c5a2201d4b97.zip
fix(email): add missing string for password reset email (#5305)
Fixes https://codeberg.org/forgejo/forgejo/issues/5293. `mail.reset_password.text` has been deleted unintentionally in https://codeberg.org/forgejo/forgejo/commit/4383da91bdd6979f40730638fe6bbbeb9216765c#diff-05e7a0ff464b6cb2ab45b456433c872221d1f06a, however, it is still used in email template: https://codeberg.org/forgejo/forgejo/src/commit/fbbaecf25a0b4442bd1b8860b5a0c46583e2cbf0/templates/mail/auth/reset_passwd.tmpl#L11 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5305 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: Otto <otto@codeberg.org>
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 5f1d95b02a..1631c90ba2 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -497,6 +497,7 @@ register_notify.text_2 = You can sign into your account using your username: %s
register_notify.text_3 = If someone else made this account for you, you will need to <a href="%s">set your password</a> first.
reset_password = Recover your account
+reset_password.text = If this was you, please click the following link to recover your account within <b>%s</b>:
password_change.subject = Your password has been changed
password_change.text_1 = The password for your account was just changed.