Reputation: 19977
What would be the best way to redirect to one constant URI after a successful Laravel 5 Authentication instead of redirecting to the indended URI?
Upvotes: 2
Views: 221
Reputation: 2592
Assuming you are authenticating inside of your own controller you can do something like
return Redirect::route('routealiashere');
or
return Redirect::url('path/to/route/here')
;
after verifying the credentials.
Upvotes: 5