This is located in config / auth.php
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
],
Please take a look at these codes above, codes are missing after I install Laravel
laravel new projectname
then I expect this should happen.
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
'api' => [
'driver' => 'token',
'provider' => 'users',
'hash' => false,
],
],
but the api part is gone. Can somebody help? I'm new to Laravel and still exploring its updates. Thank you.