Laravel change where users are redirect to after login

Changing the redirect location for when users login in Laravel.

You can find this value at the below location


Edit the HOME const to where you want the authenticated users redirected to

public const HOME = '/';

The above example will be the root, here is another example to redirect to the users profile.

public const HOME = '/profile';