main
ilhamwara 2025-06-13 09:00:34 +07:00
parent 070227b920
commit b19dcab325
1 changed files with 6 additions and 6 deletions

View File

@ -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);
}
}