mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +00:00
Switch order of middleware
This commit is contained in:
parent
b611f10db7
commit
4ff28c8fd8
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ class Install extends Command
|
|||
$newKernel = \str_replace(
|
||||
'protected $middlewarePriority = [',
|
||||
"protected \$middlewarePriority = [
|
||||
\Stancl\Tenancy\Middleware\InitializeTenancy::class,
|
||||
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class",
|
||||
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class,
|
||||
\Stancl\Tenancy\Middleware\InitializeTenancy::class,",
|
||||
\file_get_contents(app_path('Http/Kernel.php'))
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue