title: How to blocked login a few minutes after 3 unsuccessful login
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/679756/limiting-user-login-attempts-in-php">Limiting user login attempts in PHP</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to put some security in login to block user access after 3 failed attempts to login. 
  For example, if a specific user attempts to login with wrong username or password 3 times, I should show the dialog or message that the user needs to try again after 10 minutes (as an example)</p>
  
  <p>Than after 10 minutes, the user can login again with correct username and password.</p>
  
  <p>How do I do that?</p>