[accounts] mirror regex from old client for display name

This commit is contained in:
Devin Zuczek
2026-10-13 15:50:52 -04:00
parent 5ba57210b9
commit 4f36146912
5 changed files with 75 additions and 23 deletions
+2 -1
View File
@@ -505,7 +505,8 @@ const app = new Hono<App>()
responses: {
200: json(SuccessResponse, 'Updated'),
400: {
description: 'Empty, over 15 characters, non-alphanumeric, or profane (empty body)',
description:
'Empty, over 15 characters, outside the display name charset, or profane (empty body)',
},
401: UNAUTHORIZED_RESPONSE,
},