1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 18:44:03 +00:00

Update PreventAccessFromTenantDomains.php (#171)

* Update PreventAccessFromTenantDomains.php

* Update PreventAccessFromTenantDomains.php

* Update PreventAccessFromTenantDomains.php
This commit is contained in:
Chris Brown 2019-10-14 09:51:26 -04:00 committed by Samuel Štancl
parent 97d47e33d0
commit 7143bce5f9

View file

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