Answer the question
In order to leave comments, you need to log in
How to competently reassign view for login in Laravel 5.7?
Hello!
The crux of the matter is this:
1. I want to change the design of forms related to Auth.
2. At the same time, I don’t want to edit existing views, but I want to put all new views in a separate folder, making something like a separate theme (as in WP).
3. But the fact is that in routes/web.php the routes are spelled out somehow like this "crowd" Auth::routes();
and I don't want to redefine them separately either, since I have it inserted there
and where to insert it intoAuth::routes(['verify' => true]);
Route::get('login', 'Auth\[email protected]')->name('login');
public function showLoginForm()
{
return view('mytheme/login');
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question