protected function checkOTP()
    {
        if (!$this->inputHasOneTimePassword()) {
            return false;
        }

        if ($isValid = $this->verifyOneTimePassword()) {
            $this->login();
        }

        return $this->fireLoginEvent($isValid);
    }
protected function checkOTP()
    {
        if (!$this->inputHasOneTimePassword()) {
            return false;
        }

        if ($isValid = $this->verifyOneTimePassword()) {
            $this->login();
        }

        return $this->fireLoginEvent($isValid);
    }
protected function checkOTP ( ) { if ( ! $ this -> inputHasOneTimePassword ( ) ) { return false ; } if ( $ isValid = $ this -> verifyOneTimePassword ( ) ) { $ this -> login ( ) ; } return $ this -> fireLoginEvent ( $ isValid ) ; }
Check if the input OTP is valid.

@return bool
Check if the input OTP is valid .