INA-7 | Handle case when vendor is authenticated (just scaff, since we don't have routes built)

This commit is contained in:
Nikola Cirkovic 2022-06-05 01:49:34 +02:00
parent 44352b48f7
commit a02bbe5cc9

View File

@ -39,6 +39,12 @@ class RedirectIfAuthenticated
// return redirect()->route('dashboard.index');
// }
break;
case 'vendor':
if (Auth::guard($guard)->check()) {
//TODO create routes for vendor
// return redirect()->route('vendor.dashboard');
}
break;
default:
Auth::logout();
// if (Auth::guard($guard)->check()) {