mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +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
|
||||
.string()
|
||||
.trim()
|
||||
.max(255)
|
||||
.refine((el) => validateUsernameTemplateCharacters(el))
|
||||
.refine((el) =>
|
||||
isValidHandleBarTemplate(el, {
|
||||
|
||||
Reference in New Issue
Block a user