mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 02:54:03 +00:00
Fix tests
This commit is contained in:
parent
965f67c747
commit
31bf8c9de8
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class Install extends Command
|
||||||
);
|
);
|
||||||
|
|
||||||
$newKernel = \str_replace("protected \$middleware = [", "protected \$middleware = [
|
$newKernel = \str_replace("protected \$middleware = [", "protected \$middleware = [
|
||||||
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class,", $newKernel);
|
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class,", $newKernel);
|
||||||
|
|
||||||
\file_put_contents(app_path('Http/Kernel.php'), $newKernel);
|
\file_put_contents(app_path('Http/Kernel.php'), $newKernel);
|
||||||
$this->info('✔️ Set middleware priority');
|
$this->info('✔️ Set middleware priority');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue