public function autoLogin($username)
    {
        $this->loadCookiesFor($username);

        if (!$this->httpClient->cookie('_auth')) {
            return false;
        }

        $this->login();

        return true;
    }
public function autoLogin($username)
    {
        $this->loadCookiesFor($username);

        if (!$this->httpClient->cookie('_auth')) {
            return false;
        }

        $this->login();

        return true;
    }
public function autoLogin ( $ username ) { $ this -> loadCookiesFor ( $ username ) ; if ( ! $ this -> httpClient -> cookie ( '_auth' ) ) { return false ; } $ this -> login ( ) ; return true ; }
Load cookies for this username and check if it was logged in.
@param string $username
@return bool
Load cookies for this username and check if it was logged in .