This commit is contained in:
MeowcaTheoRange 2023-10-20 21:08:31 -05:00
parent 37d8669514
commit d9982d9206

View file

@ -19,7 +19,6 @@ export const SubmitTrollSchema = yup
.string() .string()
.notRequired() .notRequired()
.matches(/^[A-z]+$/, "Letters only") .matches(/^[A-z]+$/, "Letters only")
.min(3)
.max(24) .max(24)
.lowercase() .lowercase()
]) ])
@ -214,13 +213,12 @@ export const PartialTrollSchema = yup
yup yup
.string() .string()
.matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only") .matches(/^[A-z0-9-_]+$/, "Alphanumeric characters only")
.min(1) .min(3)
.max(24) .max(24)
.lowercase(), .lowercase(),
yup yup
.string() .string()
.matches(/^[A-z]+$/, "Letters only") .matches(/^[A-z]+$/, "Letters only")
.min(1)
.max(24) .max(24)
.lowercase() .lowercase()
]), ]),