#3126: limit totp attempt

This commit is contained in:
Hivert Quentin committed 2026-11-10 14:27:05 +01:00
1 parent 1a6642c366
commit 49049f6d42
9 files changed
+105

No files matched your search

+11
View File
@@ -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"];
}
//
//
//