src/models/LoginForm.php
private function userAttemptBruteForceLockHasExceeded(User $user)
    {
        if ($user->login_attempt_lock_expiration > time()) {
            $user->updateAttributes(['login_attempt' => 0]);
            
            return true;
        }
        
        return false;
    }
private function userAttemptBruteForceLockHasExceeded(User $user)
    {
        if ($user->login_attempt_lock_expiration > time()) {
            $user->updateAttributes(['login_attempt' => 0]);
            
            return true;
        }
        
        return false;
    }
private function userAttemptBruteForceLockHasExceeded ( User $ user ) { if ( $ user -> login_attempt_lock_expiration > time ( ) ) { $ user -> updateAttributes ( [ 'login_attempt' => 0 ] ) ; return true ; } return false ; }
Check if lockout has expired or not.

@param User $user
@return boolean
@since 1.2.0
Check if lockout has expired or not .