mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 18:00:36 +01:00
Handle empty configuration
This commit is contained in:
parent
147cae223b
commit
150d9ec1dc
@ -54,7 +54,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
|
||||
$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]);
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user