Skip to content

Commit

Permalink
add guard to config
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 15, 2021
1 parent e610647 commit f811d5c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/sanctum.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f811d5c

Please sign in to comment.