From 2079d34cfcc9cd987f4e00055e5f98df84358660 Mon Sep 17 00:00:00 2001 From: Rahul Dey Date: Tue, 16 Nov 2021 02:40:04 +0530 Subject: [PATCH] Update sanctum.php (#5725) --- config/sanctum.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/sanctum.php b/config/sanctum.php index 442726a7..9281c92d 100644 --- a/config/sanctum.php +++ b/config/sanctum.php @@ -19,6 +19,20 @@ env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : '' ))), + /* + |-------------------------------------------------------------------------- + | Sanctum Guards + |-------------------------------------------------------------------------- + | + | This array contains the authentication guards that will be checked when + | Sanctum is trying to authenticate a request. If none of these guards + | are able to authenticate the request, Sanctum will use the bearer + | token that's present on an incoming request for authentication. + | + */ + + 'guard' => ['web'], + /* |-------------------------------------------------------------------------- | Expiration Minutes