Files
payload/test
Sjoert 3b4bb3065a fix(login): use correct time for isLocked check (#6052)
Fixes #4950
 
The time given to the `isLocked` function is an ISO string because of
the implementation of the [`incrementLoginAttempts`
function](d78df36d9b/packages/payload/src/auth/strategies/local/incrementLoginAttempts.ts (L47)),
even though it expects milliseconds since epoch. For this reason the
`isLocked` function will never return `true`.
2024-06-14 14:49:36 -04:00
..
2024-06-13 11:08:04 -04:00
2023-09-26 17:11:46 -04:00
2024-06-13 11:08:04 -04:00
2024-02-16 12:33:07 -05:00
2024-01-08 17:12:02 -05:00
2024-06-13 11:08:04 -04:00
2023-10-06 17:16:13 -04:00
2024-06-13 11:08:04 -04:00