mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Fix numbering
This commit is contained in:
parent
cbc9a8c31b
commit
72171a852f
1 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ To use Passport inside the tenant part of your application, you may do the follo
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
4. 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 `AppServiceProvider`:
|
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 `AppServiceProvider`:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
Passport::$registersRoutes = false;
|
Passport::$registersRoutes = false;
|
||||||
|
|
@ -55,9 +55,9 @@ To use Passport inside the tenant part of your application, you may do the follo
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Apply Passport migrations by running `php artisan tenants:migrate`.
|
6. Apply Passport migrations by running `php artisan tenants:migrate`.
|
||||||
|
|
||||||
6. Set up [the encryption keys](#passport-encryption-keys).
|
7. Set up [the encryption keys](#passport-encryption-keys).
|
||||||
|
|
||||||
## **Using Passport in both the tenant and the central application** {#using-passport-in-both-the-tenant-and-the-central-application}
|
## **Using Passport in both the tenant and the central application** {#using-passport-in-both-the-tenant-and-the-central-application}
|
||||||
To use Passport in both the tenant and the central application, follow [the steps for using Passport in the tenant appliction](#using-passport-in-the-tenant-application-only) with the following adjustments:
|
To use Passport in both the tenant and the central application, follow [the steps for using Passport in the tenant appliction](#using-passport-in-the-tenant-application-only) with the following adjustments:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue