Diviner

Function login_attempt_check()

Definedinc/functions.php:5088

bool login_attempt_check($fatal = true)

parametersbool$fatal(Optional) The function will stop execution if it finds an error with the login. Default is True
returnboolNumber of logins when success, false if failed.

Checks to make sure a user has not tried to login more times than permitted Will stop execution with call to error() unless