has('is_login')) { return redirect('/login'); } return $next($request); } }