From 492d0b9caa8b483476c2ab1dd0e9058e6515252c Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 15 Dec 2022 10:01:08 +0100 Subject: [PATCH] Use `boot()` instead of `register()` in some places --- source/docs/v3/integrations/passport.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/docs/v3/integrations/passport.blade.md b/source/docs/v3/integrations/passport.blade.md index 41e149e..9ce7629 100644 --- a/source/docs/v3/integrations/passport.blade.md +++ b/source/docs/v3/integrations/passport.blade.md @@ -70,9 +70,9 @@ To use Passport in both the tenant and the central application: 2. Copy the Passport migrations to the central application, so that the Passport migrations are in both the central and the tenant application. -3. Remove `Passport::ignoreMigrations()` from the `register` method in your `AuthServiceProvider` (if it is there). +3. Remove `Passport::ignoreMigrations()` from the `register()` method in your `AuthServiceProvider` (if it is there). -4. In your `AuthServiceProvider`'s `register()` method (where you registered the Passport routes), add the `'universal'` middleware to the Passport routes, and remove the `PreventAccessFromCentralDomains::class` middleware. The related code in your `register()` method should look like this: +4. In your `AuthServiceProvider`'s `boot()` method (where you registered the Passport routes), add the `'universal'` middleware to the Passport routes, and remove the `PreventAccessFromCentralDomains::class` middleware. The related code in your `boot()` method should look like this: ```php // Passport 10.x