mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-08 23:18:05 -05:00
Fix typo in error msg
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user