Update some thangs

This commit is contained in:
2026-03-26 12:22:16 -05:00
parent d16f4287ce
commit 56fe2a2af3
4 changed files with 32 additions and 108 deletions

View File

@@ -24,9 +24,11 @@ export const validatePassword = (password: string): boolean => {
if (
password.length < 8 ||
password.length > 100 ||
/\s/.test(password) ||
!/\d/.test(password) ||
!/[a-z]/.test(password) ||
!/[A-Z]/.test(password)
!/[A-Z]/.test(password) ||
!/[\p{P}\p{S}]/u.test(password)
) {
return false;
}