Supposing then that for some reason, the resources/views/auth path for the files does not work for you then you probably need to pull the relevant methods from the various traits into your auth controllers and overwrite view calls
Jul 3, 2017
4
Level 1
How to change the view path of Laravel 5.4 auth
Please i need to know which variable to declare or method to override so that i can change the view path of Laravel 5.4 built in auth controllers, (Login, Register, Reset, ForgotPassword)
Level 122
look in the authentication controller, you will see it loads authenticatesUsers.php. You can see the full namespace in the use statement and this should mirror the path in the vendor folder
Look in the trait. the very first method in the trait is this
* Show the application's login form.
*
* @return \Illuminate\Http\Response
*/
public function showLoginForm()
{
return view('auth.login');
}
duplicate this into your login controller and change the path to the view.
Repeat for the other forms
1 like
Please or to participate in this conversation.