So I am short on info as I have no idea whats going on.
So when I go to mysite.com/login
I get NotFoundHttpException
This just happened while I was creating another view.
If I go to homeController
and change the index view to /auth.login
and going to mysite.com shows the login page.
My routes:
Route::get('/', 'HomeController@index')->name("main");
Route::auth();
What's going on?
代替Route::auth()
,而是尝试使用Auth::routes()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.