update
							parent
							
								
									070227b920
								
							
						
					
					
						commit
						b19dcab325
					
				|  | @ -16,12 +16,12 @@ class Session | |||
|      */ | ||||
|     public function handle(Request $request, Closure $next): Response | ||||
|     { | ||||
|         if(!Auth::check()){ | ||||
|             return redirect('/login')->with([ | ||||
|                 'message' => 'Maaf anda harus login terlebih dahulu', | ||||
|                 'type'    => "error" | ||||
|             ]); | ||||
|         } | ||||
|         // if(!Auth::check()){
 | ||||
|         //     return redirect('/login')->with([
 | ||||
|         //         'message' => 'Maaf anda harus login terlebih dahulu',
 | ||||
|         //         'type'    => "error"
 | ||||
|         //     ]);
 | ||||
|         // }
 | ||||
|         return $next($request); | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue