From 05091c1a39c32563e3cb5e1947522debf310aca8 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 15 Dec 2022 11:36:17 +0100 Subject: [PATCH] Update docs --- source/docs/v3/integrations/sanctum.blade.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/docs/v3/integrations/sanctum.blade.md b/source/docs/v3/integrations/sanctum.blade.md index b9a9617..401521a 100644 --- a/source/docs/v3/integrations/sanctum.blade.md +++ b/source/docs/v3/integrations/sanctum.blade.md @@ -8,7 +8,9 @@ section: content > Note: The `sanctum` auth guard can't be used with [user impersonation]({{ $page->link('features/user-impersonation') }}) because user impersonation supports stateful guards only. -### Sanctum's csrf-cookie route in the tenant app +Laravel Sanctum works with Tenancy out of the box, with the exception of the `sanctum.csrf-cookie` route. + +### Making the csrf-cookie route work in the tenant app To make the `sanctum.csrf-cookie` route work in the tenant app, do the following: @@ -27,7 +29,7 @@ Route::group(['prefix' => config('sanctum.prefix', 'sanctum')], static function }); ``` -### Sanctum's csrf-cookie route in both the central and the tenant app +### Making the csrf-cookie route work both in the central and the tenant app To use the `sanctum.csrf-cookie` route in both the central and the tenant apps: