protected function passwordExpired()
    {
        if (($minutes = $this->config('lifetime')) !== 0 && $this->minutesSinceLastActivity() > $minutes) {
            event(new OneTimePasswordExpired($this->getUser()));

            $this->logout();

            return true;
        }

        $this->keepAlive();

        return false;
    }
protected function passwordExpired()
    {
        if (($minutes = $this->config('lifetime')) !== 0 && $this->minutesSinceLastActivity() > $minutes) {
            event(new OneTimePasswordExpired($this->getUser()));

            $this->logout();

            return true;
        }

        $this->keepAlive();

        return false;
    }
protected function passwordExpired ( ) { if ( ( $ minutes = $ this -> config ( 'lifetime' ) ) !== 0 && $ this -> minutesSinceLastActivity ( ) > $ minutes ) { event ( new OneTimePasswordExpired ( $ this -> getUser ( ) ) ) ; $ this -> logout ( ) ; return true ; } $ this -> keepAlive ( ) ; return false ; }
Check if OTP has expired.

@return bool
Check if OTP has expired .