Error on Login!
Closed this issue · 3 comments
mustafa-online commented
kdion4891 commented
Did you install a clean version of Laravel 6 or are you trying to add this to an existing project?
RouteServiceProvider
should contain this constant:
public const HOME = '/home';
mustafa-online commented
Yes It's a fresh installation (Laravel v6), there is no such Constant!
I solve the issue by editing loginController :
protected $redirectTo = '/home';
kdion4891 commented
Glad you figured it out.