public function resetFailedLogin($iUserId)
    {
        $oDb = Factory::service('Database');
        $oDb->set('failed_login_count', 0);
        $oDb->set('failed_login_expires', 'null', false);
        return $this->update($iUserId);
    }
public function resetFailedLogin($iUserId)
    {
        $oDb = Factory::service('Database');
        $oDb->set('failed_login_count', 0);
        $oDb->set('failed_login_expires', 'null', false);
        return $this->update($iUserId);
    }
public function resetFailedLogin ( $ iUserId ) { $ oDb = Factory :: service ( 'Database' ) ; $ oDb -> set ( 'failed_login_count' , 0 ) ; $ oDb -> set ( 'failed_login_expires' , 'null' , false ) ; return $ this -> update ( $ iUserId ) ; }
Reset a user's failed login

@param integer $iUserId The user ID to reset

@return boolean
Reset a user s failed login