php - What is the quickest way to check invalid login attempts in Symfony2 FOSUserBundle? -
i using fosuserbundle in symfony2 handle user registration , authentication. want lock out user accounts after 3 invalid login attempts. so, quickest way check invalid login attempts in symfony2 fosuserbundle?
solution far
maybe have define $attempts
attribute on user
object identify invalid login attempts count. can use authenticationhandler
class handle login attempt ( using onauthenticationsuccess() , onauthenticationfailure() )
Comments
Post a Comment