Undefined class constant 'App\Providers\RouteServiceProvider::HOME'

In Laravel 6 the $redirectTo property in the auth controllers was updated so that it was easier to change across the board. Link to PR.

To fix the error you can either add the following to your App\Providers\RouteServiceProvider.php class:

/**
 * The path to the "home" route for your application.
 *
 * @var string
 */
public const HOME = '/home';

or in each of your auth controller update the $redirectTo property to be the route that you want to use:

protected $redirectTo = RouteServiceProvider::HOME;

becomes

protected $redirectTo = '/the-path-you-want-to-redirect-to';