Results 1 to 4 of 4

Thread: Limiting logins to 3 times

  1. #1
    Join Date
    Jun 2007
    Posts
    9

    Default Limiting logins to 3 times

    Good day everyone.

    I'm new to acegi and i've implemented it in spring. I just want to know how to limit a failed login on 3 attempts. Here's a sample scenario:

    1. user logs in and failed authentication 3 times
    2. his username/password will be blocked for a day
    3. after failing to login 3 times, the user will be redirected to a forgot password screen and/or contact administrator screen.

    What configuration should i need to do on acegi and what code should i do.

    Hope anyone can help me on this one.

    Thanks!

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    I would do a search for this. It's been covered countless times. Here's a good start.
    http://www.acegisecurity.org/faq.html

  3. #3
    Join Date
    Jun 2007
    Posts
    9

    Default

    i couldn't understand how to do it. the configuration and the needed code to implement it. i dont know where to start.

  4. #4
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    Have you tried searching on this form as suggested? I know I've responded to this question atleast twice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •