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
fix(api-tokens): align token-name length cap with the backend (100)
Sergey Kozyrenkof92aafb09a97
diff --git a/frontend/src/pages/settings/settings-api-tokens.tsx b/frontend/src/pages/settings/settings-api-tokens.tsxindex 17cab18e..e9b0055f 100644--- a/frontend/src/pages/settings/settings-api-tokens.tsx+++ b/frontend/src/pages/settings/settings-api-tokens.tsx@@ -62,7 +62,8 @@ import { baseUrl } from '@/models/api';type APIToken = ApiTokenFragmentFragment;-const tokenNameSchema = z.string().trim().max(255, 'Token name must be 255 characters or less').default('');+// 100 mirrors the backend cap (server/models/api_tokens.go + the createAPIToken/updateAPIToken resolvers).+const tokenNameSchema = z.string().trim().max(100, 'Token name must be 100 characters or less').default('');const createTokenFormSchema = z.object({// Nullable in form input (the date picker starts empty); the refine gates