How can I block a user after 3 attempts? I am doing a username and password login. They ask me that if a user made 3 failed attempts to log in, the account should be blocked, according to the JavaScript function I would have to block the user after 3 failed attempts, but the loop only stays in "You have 2 attempts left" and although I make a mistake again, it just stays at "You have 2 attempts left".
Home
/
user-306643