mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Change Passport::$registersRoutes = false to Passport::ignoreRoutes()
This commit is contained in:
parent
768a03b0d9
commit
938b8ebc5b
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,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 and register the routes manually by adding the following code to the `register` method in your `AuthServiceProvider`:
|
||||
|
||||
```php
|
||||
Passport::$registersRoutes = false;
|
||||
Passport::ignoreRoutes();
|
||||
|
||||
Route::group([
|
||||
'as' => 'passport.',
|
||||
|
|
@ -74,7 +74,7 @@ Passport::routes(null, ['middleware' => [
|
|||
]]);
|
||||
|
||||
// Passport 11.x
|
||||
Passport::$registersRoutes = false;
|
||||
Passport::ignoreRoutes();
|
||||
|
||||
Route::group([
|
||||
'as' => 'passport.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue