@if(Auth::guard('admin')->check()) Hello {{Auth::guard('admin')->user()->name}} @elseif(Auth::guard('user')->check()) Hello {{Auth::guard('user')->user()->name}} @endif