mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 07:17:12 +00:00
(fix) fixed bad password login interval (fixes #4664)
This commit is contained in:
1 parent
5371838159
commit
bc456dcef8
2 files changed
+2
-1
No files matched your search
@@ -21,6 +21,7 @@ Bug fixes
|
|||||||
- [core] ignore transparent events in time conflict validation (#4539)
|
- [core] ignore transparent events in time conflict validation (#4539)
|
||||||
- [core] fixed yearly recurrence calculator when starting from previous year
|
- [core] fixed yearly recurrence calculator when starting from previous year
|
||||||
- [core] changes to contacts are now propagated to lists (#850, #4301, #4617)
|
- [core] changes to contacts are now propagated to lists (#850, #4301, #4617)
|
||||||
|
- [core] fixed bad password login interval (#4664)
|
||||||
|
|
||||||
4.0.5 (2019-01-09)
|
4.0.5 (2019-01-09)
|
||||||
------------------
|
------------------
|
||||||
|
|||||||
@@ -584,7 +584,7 @@ static Class NSNullK;
|
|||||||
block_time = [sd failedLoginBlockInterval];
|
block_time = [sd failedLoginBlockInterval];
|
||||||
|
|
||||||
if ([[failedCount objectForKey: @"FailedCount"] intValue] >= [sd maximumFailedLoginCount] &&
|
if ([[failedCount objectForKey: @"FailedCount"] intValue] >= [sd maximumFailedLoginCount] &&
|
||||||
delta_last_request >= [sd maximumFailedLoginInterval] &&
|
delta_last_request < [sd maximumFailedLoginInterval] &&
|
||||||
delta_start <= block_time )
|
delta_start <= block_time )
|
||||||
{
|
{
|
||||||
*_perr = PolicyAccountLocked;
|
*_perr = PolicyAccountLocked;
|
||||||
|
|||||||
Reference in new issue
Block a user