src/Security/Member.php
public function registerSuccessfulLogin()
    {
        if (self::config()->get('lock_out_after_incorrect_logins')) {
            // Forgive all past login failures
            $this->FailedLoginCount = 0;
            $this->LockedOutUntil = null;
            $this->write();
        }
    }
public function registerSuccessfulLogin()
    {
        if (self::config()->get('lock_out_after_incorrect_logins')) {
            // Forgive all past login failures
            $this->FailedLoginCount = 0;
            $this->LockedOutUntil = null;
            $this->write();
        }
    }
public function registerSuccessfulLogin ( ) { if ( self :: config ( ) -> get ( 'lock_out_after_incorrect_logins' ) ) { // Forgive all past login failures $ this -> FailedLoginCount = 0 ; $ this -> LockedOutUntil = null ; $ this -> write ( ) ; } }
Tell this member that a successful login has been made
Tell this member that a successful login has been made