mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Update general.php
This commit is contained in:
parent
ec05a3d668
commit
a10882d7ee
1 changed files with 1 additions and 1 deletions
|
|
@ -722,7 +722,7 @@ App::init()
|
|||
} else {
|
||||
// Auto-allow domains with linked rule
|
||||
$rule = Authorization::skip(fn () => $dbForPlatform->getDocument('rules', md5($origin)));
|
||||
if (!$rule->isEmpty()) {
|
||||
if (!$rule->isEmpty() && $rule->getAttribute('projectInternalId') === $project->getInternalId()) {
|
||||
$refDomainOrigin = $origin;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue