#3124: limit number of attempt for password recovery

This commit is contained in:
Hivert Quentin committed 2026-11-20 09:31:18 +01:00
1 parent f6d8725c96
commit c974f29ff1
10 files changed
+246 -28

No files matched your search

@@ -260,6 +260,8 @@
error = l("Password change failed - Password is in history");
} else if (perr == passwordPolicyConfig.PolicyPasswordRecoveryInvalidToken) {
error = l("Invalid token. Could not change password");
} else if (perr == passwordPolicyConfig.PolicyAccountLocked) {
error = l("Your account was locked due to too many failed attempts.");
} else {
error = l("Unhandled policy error: %{0}").formatted(perr);
perr = passwordPolicyConfig.PolicyPasswordUnknown;