mirror of
https://github.com/fairyglade/ly.git
synced 2026-09-21 19:40:20 +00:00
auth: Check faillock for locked account (closes #898)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -262,6 +262,13 @@ ly = {
|
||||
-- Default is red and bold
|
||||
error_fg = 0x01FF0000,
|
||||
|
||||
-- Tally directory for the pam_faillock module (if present)
|
||||
-- Used for getting if an account is locked or not after too many failed
|
||||
-- login attempts
|
||||
-- If directory doesn't exist, lock status won't be checked when
|
||||
-- authenticating
|
||||
faillock_tally_dir = "/var/run/faillock",
|
||||
|
||||
-- Foreground color id
|
||||
fg = 0x00FFFFFF,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user