laravel route redirect
Route::redirect('/here', '/there');
or
return redirect(route('register'));
laravel route redirect
Route::redirect('/here', '/there');
or
return redirect(route('register'));
redirect to attempting url after login laravel
The intended method on the redirector will redirect the user to the URL they
were attempting to access before being intercepted by the authentication
middleware. A fallback URI may be given to this method in case the intended
destination is not available.
if (Auth::attempt($credentials)) {
// Authentication passed...
return redirect()->intended('dashboard');
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us