where is the guard setting in laravel

Solutions on MaxInterview for where is the guard setting in laravel by the best coders in the world

showing results for - "where is the guard setting in laravel"
Eren
01 Jun 2018
1You have to also register the guard in the config\auth.php
2
3'guards' => [
4    'web' => [
5        'driver' => 'session',
6        'provider' => 'users',
7    ],
8
9    'api' => [
10        'driver' => 'token',
11        'provider' => 'users',
12    ],
13
14     'admin' => [
15        'driver' => 'session',
16        'provider' => 'admins',
17    ],
18],