backend api stuff

This commit is contained in:
Jake Kasper
2025-08-21 10:33:57 -05:00
parent e333a2e32d
commit 54a29ebac6
4 changed files with 6 additions and 5 deletions

View File

@@ -151,7 +151,7 @@ const Register = () => {
message: 'Password must be at least 8 characters',
},
pattern: {
value: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]/,
value: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&#+])[A-Za-z\d@$!%*?&#+]/,
message: 'Password must contain uppercase, lowercase, number, and special character',
},
})}