Skip to content

Commit 2079d34

Browse files
authored
Update sanctum.php (laravel#5725)
1 parent c112d14 commit 2079d34

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

config/sanctum.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@
1919
env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : ''
2020
))),
2121

22+
/*
23+
|--------------------------------------------------------------------------
24+
| Sanctum Guards
25+
|--------------------------------------------------------------------------
26+
|
27+
| This array contains the authentication guards that will be checked when
28+
| Sanctum is trying to authenticate a request. If none of these guards
29+
| are able to authenticate the request, Sanctum will use the bearer
30+
| token that's present on an incoming request for authentication.
31+
|
32+
*/
33+
34+
'guard' => ['web'],
35+
2236
/*
2337
|--------------------------------------------------------------------------
2438
| Expiration Minutes

0 commit comments

Comments
 (0)