mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-12 16:58:37 +00:00
Handle empty configuration
This commit is contained in:
parent
147cae223b
commit
150d9ec1dc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
|
||||||
$host = substr($host, 4);
|
$host = substr($host, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($this->credentials[$host])) {
|
if (empty($this->credentials[$host])) {
|
||||||
$this->logger->debug('Auth: no credentials available for host.', ['host' => $host]);
|
$this->logger->debug('Auth: no credentials available for host.', ['host' => $host]);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue