- Default no. of failed consecutive attempts: 5 (user will get blocked in the 5th attempt, this is configurable)
- Default block duration: 2 mins
- Total failed attempts per day / IP: 30 (Configurable)
Unblock users
Using admin-cli
/ npm run dist-admin-cli
commands
**NOTE: For LILT November 2023 release onwards, please use npm run dist-admin-cli
instead of admin-cli
.
Administrators of self-managed instance can now use two new admin-cli
/ npm run dist-admin-cli
commands:
Connect to front pod
Updating the max consecutive failed attempts and block duration
-
With
updatedMaxConsecutiveLogins
being anumber
that updates the default max consecutive failed login attempts before a user is temporarily blocked. Flag:-m
. -
With the optional argument
blockDuration
being anumber
that represents the minutes a user is blocked from attempting to login after reaching the max consecutive failed login attempts. Flag:-b
.-
If
blockDuration
is set to-1
, users will be blocked indefinitely, and should be manually unblocked by admins in order to resume use of their accounts. -
If
blockDuration
is set to0
, the block duration defaults back to the platform’s default value of2
minutes (default value subject to change in the future).
-
If
Unblocking a user
**NOTE: ****For LILT November 2023 release onwards, please usenpm run dist-admin-cli
instead of **admin-cli
-
With
email
being astring
for the blocked user’s LILT email. - The command will unblock user who has been blocked due to multiple consecutive failed login attempts.
Unblock IP restrictions
To check and unlock IP restrictions, follow below method:-
Connect to
redis
pod: -
To reset it, delete the key-value pair, which in this case would probably go something like this:
-
To unblock consecutive user lockouts, connect to redis and remove* the keys with
*fail_consecutive_ip*
prefix.