memphis
memphis copied to clipboard
Password Validation
Hi! Password validation rule regex seems to be invalid.
Error says that "Password must be at least 8 characters long, contain both uppercase and lowercase, and at least one number and one special character".
Given validatePassword("d&gP52#WA")
, it should be valid but it's throwing error
https://github.com/memphisdev/memphis/blob/9967388b362edc374884fab6f988b391fba2e28d/server/memphis_handlers_user_mgmt.go#L826
So, is &
not allowed it's just oversight etc?
Thanks
Hi @wahmedswl, In which version did you get this error?
@avrhamNeeman v1.1.1
but the code snippet taken from the current branch.
Thanks