check() || Auth::guard('sanctum')->check() || Auth::guard('customer')->check()) { return $next($request); } return redirect('/login'); } }