mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-11 03:21:32 +00:00
#3126: limit totp attempt
This commit is contained in:
1 parent
1a6642c366
commit
49049f6d42
9 files changed
+105
No files matched your search
@@ -927,6 +927,17 @@ NSComparisonResult languageSort(id el1, id el2, void *context)
|
||||
return [self integerForKey: @"SOGoMaximumFailedPasswordRecoveryCount"];
|
||||
}
|
||||
|
||||
//
|
||||
// Number of wrong TOTP verification codes allowed during
|
||||
// SOGoFailedLoginBlockInterval seconds before TOTP verification
|
||||
// is blocked for the account. Defaults to 5 (see SOGoDefaults.plist),
|
||||
// 0 disables the protection.
|
||||
//
|
||||
- (int) maximumFailedTotpCount
|
||||
{
|
||||
return [self integerForKey: @"SOGoMaximumFailedTotpCount"];
|
||||
}
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user