#3124: limit number of attempt for password recovery

This commit is contained in:
Hivert Quentin committed 2026-11-10 14:06:00 +01:00
1 parent 0a57b95cfc
commit 1a6642c366
11 files changed
+249 -29

No files matched your search

+11
View File
@@ -916,6 +916,17 @@ NSComparisonResult languageSort(id el1, id el2, void *context)
return v;
}
//
// Number of wrong secret question answers allowed during
// SOGoFailedLoginBlockInterval seconds before password recovery
// is blocked for the account. Defaults to 5 (see SOGoDefaults.plist),
// 0 disables the protection.
//
- (int) maximumFailedPasswordRecoveryCount
{
return [self integerForKey: @"SOGoMaximumFailedPasswordRecoveryCount"];
}
//
//
//