2009年4月15日星期三

Re: [fw-auth] blocking users

If you're using database authentication, take a look at this page to see how you can add extra conditionals to the adapter:


If you want to prevent login after 3 unsuccessful attempts, you can add a "failed_login_attempts" field to your users table, and increment the value each time the authentication fails.

-Hector


On Wed, Apr 15, 2009 at 2:07 PM, Ralph Schindler <ralph.schindler@zend.com> wrote:
Attempting to log in with bad credentials 3 times?

Or simply only allowing them to log in 3 times per account?

-ralph


Doood wrote:
hi, I want to know how to block an account after logining in for more than 3
times using the zend framework.

thanks in advance


没有评论: