Auth::setFailedLoginCallback()

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

Synopsis

void Auth::setFailedLoginCallback ( string $loginFailedCallback )

Description

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.

Parameter

string $loginFailedCallback

the call back function to use

Note

This function can not be called statically.