1'guards' => [
2 'web' => [
3 'driver' => 'session',
4 'provider' => 'users',
5 ],
6
7 'api' => [
8 'driver' => 'passport',//instead of token
9 'provider' => 'users',
10 'hash' => false,
11 ],
12],
13
11.So to answer this question, after racking my brain, I decided to clear the application, configuration, and route caches,that did the trick for me.
2
3 php artisan cache:clear
4
52.You can run the above statement in your console when you wish to clear the application cache. What it does is that this statement clears all caches inside storage\framework\cache.
6
7 php artisan route:cache
8
93.This clears your route cache. So if you have added a new route or have changed a route controller or action you can use this one to reload the same.
10
11 php artisan config:cache