Pass withErrors to Registration Page
I over wrote the registration page to add some other fields.
I also have a service that does an oauth login. If the oauth fails I redirect them to the Registration page. I've added a hook to the beginning of the form to display some errors.
I want to show error messages I pass to that page, but for some reason
return redirect(RouteServiceProvider::REGISTER)->withErrors('Employee information not found.','danger');
Does not pass the errors to the page.
0 Replies