Fix typo in error msg

This commit is contained in:
Fang-Pen Lin
2026-01-06 11:18:52 -08:00
parent d8db03d6d1
commit 3856f037cc
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ export const RedisAccountCredentialsSchema = z.object({
username: z
.string()
.trim()
.max(256, "Username must be 255 characters or less")
.max(256, "Username must be 256 characters or less")
.transform((value) => (value === "" ? undefined : value))
.optional(),
password: z

View File

@@ -21,7 +21,7 @@ const formSchema = genericAccountFieldsSchema.extend({
username: z
.string()
.trim()
.max(256, "Username must be 255 characters or less")
.max(256, "Username must be 256 characters or less")
.transform((value) => (value === "" ? undefined : value))
.optional(),
password: z