diff --git a/src/Connectors/DocuWareDynamicConnector.php b/src/Connectors/DocuWareDynamicConnector.php index a5d67f6..f8eca50 100644 --- a/src/Connectors/DocuWareDynamicConnector.php +++ b/src/Connectors/DocuWareDynamicConnector.php @@ -19,7 +19,7 @@ public function __construct(Config $config) $this->cookieJar = CookieJar::fromArray( [Auth::COOKIE_NAME => $this->configuration->cookie], - parse_url(config('docuware.credentials.url'), PHP_URL_HOST) + parse_url($config->url, PHP_URL_HOST) ); }