I\'m beginer and I start learn and code with laravel... To enable user login nad registration I write this (as I see on one tutorilal):
at routes.php
In case you edited your config/auth.php, e.g. to add another guard and your config is cached, your guards may not be reloaded. If you experience this problem, clearing the config will fix it.
config/auth.php
$php artisan config:clear or $php artisan config:cache
$php artisan config:clear
$php artisan config:cache
I'm using laravel 5.5