LazeBear / ez-retro-web

1 stars 1 forks source link

No spaces allowed in passwords #1

Open gillespiej opened 3 years ago

gillespiej commented 3 years ago

Not sure if it's intentional or not, but in src/validators/index.js the regex to validate a password doesn't allow a space character. Assuming the password is sent direct to a hashing algorithm, a space should probably be accepted as a valid character.

LazeBear commented 3 years ago

Hi @gillespiej , it is intended to not allow space in the password, but I see your point 👍