status === 'admin') { return redirect('/home')->with('error', 'Anda tidak diizinkan mengakses halaman admin.'); } } return $next($request); } }