1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 10:34:04 +00:00

Update PreventAccessFromTenantDomains.php

This commit is contained in:
Samuel Štancl 2019-10-14 15:50:54 +02:00 committed by GitHub
parent f4818f5218
commit 06a1727ef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,7 @@ namespace Stancl\Tenancy\Middleware;
use Closure; use Closure;
/** /**
* Prevent access to non-tenant routes from domains that are not exempt from tenancy. * Prevent access from tenant domains to central routes and vice versa.
* = allow access to central routes only from domains listed in tenancy.exempt_domains.
*/ */
class PreventAccessFromTenantDomains class PreventAccessFromTenantDomains
{ {