Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
refactor(frontend): prune restatement comments
Sergey Kozyrenko9bda603de3c9
diff --git a/frontend/src/app.tsx b/frontend/src/app.tsxindex 87ae2dbb..1f078b94 100644--- a/frontend/src/app.tsx+++ b/frontend/src/app.tsx@@ -231,7 +231,6 @@ const router = createBrowserRouter(handle={routeTitles.apiTokens}path="api-tokens"/>- {/* Catch-all route for unknown settings paths */}<Routeelement={<Navigatediff --git a/frontend/src/components/routes/public-route.tsx b/frontend/src/components/routes/public-route.tsxindex 6655cd3c..4ba72dd8 100644--- a/frontend/src/components/routes/public-route.tsx+++ b/frontend/src/components/routes/public-route.tsx@@ -14,14 +14,6 @@ function PublicRoute({ children }: { children: React.ReactNode }) {}if (isAuthenticated()) {- // Only show password change form if the user is ACTUALLY authenticated- // with a valid, non-expired session. Do NOT rely solely on authInfo presence in- // memory, because clearAuth() is async and during race conditions (e.g., when- // session expires and user refreshes the page) the old authInfo may still be in- // state while localStorage is already cleared.- //- // Additional safety check: verify that authInfo.type is 'user', not 'guest'.- // If server returned guest status, we should NOT show password change form.if (authInfo?.user?.password_change_required &&authInfo?.type === 'user' &&diff --git a/frontend/src/components/shared/markdown-editor/markdown-editor-image-handle.tsx b/frontend/src/components/shared/markdown-editor/markdown-editor-image-handle.tsxindex 8aac59a6..22a08c7c 100644--- a/frontend/src/components/shared/markdown-editor/markdown-editor-image-handle.tsx+++ b/frontend/src/components/shared/markdown-editor/markdown-editor-image-handle.tsx@@ -16,9 +16,6 @@ interface ImageTarget {src: string;}-// Shows the shared image editor anchored to the selected image. Clicking an image makes it a NodeSelection (it-// never navigates), so `selection instanceof NodeSelection && node.type.name === 'image'` detects "an image is-// selected". Overlay-only — it never mutates the doc until a form action runs (like TableHandles / LinkHandle).export function ImageHandle({ editor }: { editor: Editor }) {const { close, target } = useImageHandle(editor);