How to change the redirect page after login?

Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management / FAQ Last updated on Updated  Jan 16, 2019

Modifying the redirect page after login is simple. Just check handleUserWasAuthenticated method available inside app/Http/Controllers/Web/Auth/AuthController and replace return redirect()->intended(); line with one of the following:

// to redirect to custom url (can be any url)
return redirect()->to("your url here");

//or

// to redirect to specific Vanguard route
// with name that is already defined for that route
return redirect()->route("route_name_here");