I put the Laravel auth in a subdomain with a variable slug
.
When I submit Reset Password I get the error
Missing required parameters for [Route: password.reset] [URI: password/reset/{token}]
Route::domain('{business_slug}.' . env('APP_URL'))->middleware(['business.slug'])->group(function () {
Auth::routes();
});
public function showLinkRequestForm($business_slug)
{
return view('auth.passwords.email', ['business_slug' => $business_slug]);
}
{{ route('password.email', ['business_slug' => $business_slug]) }}
{token}
is the missing parameter. What's the URL are you trying to send? – sentyhttp://jurdekker.onlineroosters.test/password/email
– Jur Dekkerhttp://jurdekker.onlineroosters.test/password/reset/{token}
andtoken
in url is missing in your instance – senty