mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
parent
b6681851f1
commit
702192420e
2 changed files with 6 additions and 1 deletions
5
.changeset/silent-games-jump.md
Normal file
5
.changeset/silent-games-jump.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@hyperdx/api': patch
|
||||
---
|
||||
|
||||
Support '-', ';', '=', and '+' in password
|
||||
|
|
@ -27,7 +27,7 @@ const registrationSchema = z
|
|||
'Password must include at least one number',
|
||||
)
|
||||
.refine(
|
||||
pass => /[!@#$%^&*(),.?":{}|<>]/.test(pass),
|
||||
pass => /[!@#$%^&*(),.?":{}|<>;\-+=]/.test(pass),
|
||||
'Password must include at least one special character',
|
||||
),
|
||||
confirmPassword: z.string(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue