Auth::setFailedLoginCallback() – set a callback for failed login attempts


void Auth::setFailedLoginCallback ( string $loginFailedCallback )


This function sets a callback function which is called upon failed login of a user account.

The callback function will be passed two parameters, the username that failed to login and a reference to the Auth object.


string $loginFailedCallback

the call back function to use


This function can not be called statically.

set expiration time for authentication (Previous) set maximum idle time for authentication (Next)
Last updated: Tue, 24 Nov 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.