implement account lockout after 3 failed login attempts with 5-minute cooldown period
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE users
|
||||
ADD COLUMN failed_login_attempts INTEGER NOT NULL DEFAULT 0,
|
||||
ADD COLUMN locked_until TIMESTAMPTZ;
|
||||
Reference in New Issue
Block a user