aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorJack Hay <jack@allspice.io>2023-09-01 12:15:39 -0400
committerGitHub <noreply@github.com>2023-09-01 16:15:39 +0000
commit9881b8a4e24bc81b1acd80b51c5c2541b063149e (patch)
tree9bf4c5ce0c0d3f11880e6999ad3c2ced798f85eb /options
parent04771b5ff79152a47aecce4b2b445daa4a96da33 (diff)
downloadgitea-9881b8a4e24bc81b1acd80b51c5c2541b063149e.tar.gz
gitea-9881b8a4e24bc81b1acd80b51c5c2541b063149e.zip
Add more descriptive error on forgot password page (#26848)
## Changes - Forces flashed error to render immediately when forgot password code is incorrect or has expired. - Adds a link back to the `forgot_password` page so that the user can restart the process (in the event that their link has expired)
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 401692388e..66f67d4896 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -379,6 +379,7 @@ email_not_associate = The email address is not associated with any account.
send_reset_mail = Send Account Recovery Email
reset_password = Account Recovery
invalid_code = Your confirmation code is invalid or has expired.
+invalid_code_forgot_password = Your confirmation code is invalid or has expired. Click <a href="%s">here</a> to start a new session.
invalid_password = Your password does not match the password that was used to create the account.
reset_password_helper = Recover Account
reset_password_wrong_user = You are signed in as %s, but the account recovery link is meant for %s