public function login()
    {
        $this->setTokenFromCookies();

        if (!empty($this->csrfToken)) {
            $this->loggedIn = true;
        }

        return $this;
    }
public function login()
    {
        $this->setTokenFromCookies();

        if (!empty($this->csrfToken)) {
            $this->loggedIn = true;
        }

        return $this;
    }
public function login ( ) { $ this -> setTokenFromCookies ( ) ; if ( ! empty ( $ this -> csrfToken ) ) { $ this -> loggedIn = true ; } return $ this ; }
Mark client as logged.
Mark client as logged .