I updated from 0.16 to 0.18.1 and now it's throwing me error error: Duplicate field regex
#[validate(
length(
min = 3,
max = 20,
message = "Username must be between 3 and 20 characters"
),
regex(
path = "USERNAME_ALLOWED_CHARACTERS",
message = "Username must only contain alphanumeric characters and underscores"
),
regex(
path = "USERNAME_UNDERSCORE_LIMIT",
message = "Username must contain no more than 1 underscore"
),
regex(
path = "USERNAME_UNDERSCORE_PLACEMENT",
message = "Username must not start or end with an underscore"
)
)]
Thank you!
I updated from 0.16 to 0.18.1 and now it's throwing me error error: Duplicate field
regexThank you!