mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-14 12:42:44 +00:00
#3124: limit number of attempt for password recovery
This commit is contained in:
1 parent
0a57b95cfc
commit
1a6642c366
11 files changed
+249
-29
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;
|
||||
|
||||
Reference in new issue
Block a user