mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	fix guard issue
This commit is contained in:
		| @ -17,7 +17,7 @@ class PdfMiddleware | ||||
|      */ | ||||
|     public function handle(Request $request, Closure $next) | ||||
|     { | ||||
|         if (Auth::guard('web')->check() || Auth::guard('api')->check() || Auth::guard('customer')->check()) { | ||||
|         if (Auth::guard('web')->check() || Auth::guard('sanctum')->check() || Auth::guard('customer')->check()) { | ||||
|             return $next($request); | ||||
|         } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user