mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Fix another bug
This commit is contained in:
parent
65bb7c6dfd
commit
8ce3bdb6d7
1 changed files with 3 additions and 3 deletions
|
|
@ -96,11 +96,11 @@ class Create extends Action
|
|||
|
||||
$denyListDomains = System::getEnv('_APP_CUSTOM_DOMAIN_DENY_LIST', '');
|
||||
$denyListDomains = \array_map('trim', explode(',', $denyListDomains));
|
||||
foreach ($denyListDomains as $domain) {
|
||||
if (empty($domain)) {
|
||||
foreach ($denyListDomains as $denyListDomain) {
|
||||
if (empty($denyListDomain)) {
|
||||
continue;
|
||||
}
|
||||
$deniedDomains[] = $domain;
|
||||
$deniedDomains[] = $denyListDomain;
|
||||
}
|
||||
|
||||
if (\in_array($domain, $deniedDomains)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue