Answer the question
In order to leave comments, you need to log in
How to make make:auth on an existing template?
There is already a page with its own design, from which the registration form is available (but it does not work yet). make:auth makes separate login and registration pages, but I would like to apply all the working functionality to the existing one. Is it possible to do make:auth for this, or do I have to do the registration myself?
Answer the question
In order to leave comments, you need to log in
php artisan vendor:publish --tag=view
and the templates are swimming in the views/auth folder
trait RegistersUsers
After make:auth you will have Auth/RegisterController
Redefine the method in it
public function showRegistrationForm()
{
return view('PATH.TO.YOURS.VIEW');
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question