mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-11 11:21:33 +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
@@ -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"];
|
||||
}
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user