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

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -