mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-09-14 11:06:15 +05:00
API key names longer than 32 characters were rejected by better-auth with a 400 that surfaced as an opaque INTERNAL_SERVER_ERROR (the generic "Failed to generate API key" toast). Add a shared name schema (min 1, max 32, matching better-auth's default maximumNameLength) used by both the tRPC input and the client form, and surface the limit on the Name field so users see it before submitting. Fixes #4798 |
||
|---|---|---|
| .. | ||
| api-keys.ts | ||
| auth-client.ts | ||
| avatar-utils.ts | ||
| bundled-icons.ts | ||
| password-utils.ts | ||
| slug.ts | ||
| utils.ts | ||