aboutsummaryrefslogtreecommitdiff
path: root/options
diff options
context:
space:
mode:
authorOtto Richter (fnetX)2023-01-28 08:59:46 +0100
committerGitHub2023-01-28 15:59:46 +0800
commit95d9fbdcf39db7595a23a69ca48bfb49b845874a (patch)
treea5703f01c2aaf0f3b914b7d5320d538e33084c5c /options
parent74466eb1334386148caa50ccfd18b0f218e413d7 (diff)
Fix error on account activation with wrong passwd (#22609)
On activating local accounts, the error message didn't differentiate between using a wrong or expired token, or a wrong password. The result could already be obtained from the behaviour (different screens were presented), but the error message was misleading and lead to confusion for new users on Codeberg with Forgejo. Now, entering a wrong password for a valid token prints a different error message. The problem was introduced in 0f14f69e6070c9aca09f57c419e7d6007d0e520b. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
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 43a8aeb08..6ccbbc1c0 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -322,6 +322,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_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 for %s
password_too_short = Password length cannot be less than %d characters.