mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Update Laravel Passport integration Documentation
Use middleware InitializeTenancyBySubdomain
This commit is contained in:
parent
ab1b04356d
commit
e69c59e329
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ To use Passport inside the tenant part of your application, you may do the follo
|
|||
Passport::ignoreMigrations();
|
||||
Passport::routes(null, ['middleware' => [
|
||||
// You can make this simpler by creating a tenancy route group
|
||||
InitializeTenancyByDomain::class,
|
||||
InitializeTenancyBySubdomain::class,
|
||||
PreventAccessFromCentralDomains::class,
|
||||
]]);
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue