mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 14:27:30 +00:00
feat: added max to validation of dynamic secret username template
This commit is contained in:
@@ -29,6 +29,7 @@ const validateUsernameTemplateCharacters = characterValidator([
|
|||||||
const userTemplateSchema = z
|
const userTemplateSchema = z
|
||||||
.string()
|
.string()
|
||||||
.trim()
|
.trim()
|
||||||
|
.max(255)
|
||||||
.refine((el) => validateUsernameTemplateCharacters(el))
|
.refine((el) => validateUsernameTemplateCharacters(el))
|
||||||
.refine((el) =>
|
.refine((el) =>
|
||||||
isValidHandleBarTemplate(el, {
|
isValidHandleBarTemplate(el, {
|
||||||
|
|||||||
Reference in New Issue
Block a user