mirror of
https://github.com/stancl/tenancy-docs.git
synced 2026-02-04 00:24:02 +00:00
Merge 697dc67bfc into 2be4b681d0
This commit is contained in:
commit
02e1d2795b
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ To use Passport inside the tenant part of your application, you may do the follo
|
|||
```
|
||||
|
||||
|
||||
5. If you're using Passport 11.x, disable the automatic Passport route registering in your `AuthServiceProvider` by adding `Passport::ignoreRoutes();` to the `register()` method. Then, register the Passport routes manually by adding the following code to the `boot()` method:
|
||||
5. If you're using Passport 11.x, disable the automatic Passport route registering in your `AuthServiceProvider` by adding `Passport::ignoreRoutes();` to the `register()` method. Additionally, you should provide a static path for your keys, otherwise, your tenancy storage resolver will override the default place to tenant space, do this by adding a `Passport::loadKeysFrom(storage_path());`. Then, register the Passport routes manually by adding the following code to the `boot()` method:
|
||||
|
||||
```php
|
||||
Route::group([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue