Ignore empty email whitelist string
This commit is contained in:
parent
fad0c875ca
commit
b63c0c3c72
@ -98,7 +98,7 @@ class DomainWhitelistPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
$whitelist = $this->getWhitelist();
|
$whitelist = $this->getWhitelist();
|
||||||
|
|
||||||
if (empty($whitelist)) {
|
if (empty($whitelist) || empty($whitelist[0])) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user