loading...

Discussion

pic
Editor guide
 
protected function authenticated(Request $request)
{
      return redirect(
          [
              'admin'  => '/admin/dashboard/',
              'superadmin' => '/superadmin/dashboard/'
          ][ auth()->user()->userType ]
    );
}

How's that ?