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();
|
||||
|
||||
if (empty($whitelist)) {
|
||||
if (empty($whitelist) || empty($whitelist[0])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user