mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-30 20:44:33 -04:00
INA-7 | Handle case when vendor is authenticated (just scaff, since we don't have routes built)
This commit is contained in:
parent
44352b48f7
commit
a02bbe5cc9
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user