solid-adventure / trivial-api

Other
1 stars 1 forks source link

enhance/password #195

Closed drowninginflowers closed 11 months ago

drowninginflowers commented 11 months ago

Before Passwords for users used default devise validation

After Password strength requirements use custom validation module

Notes Current strength requirements are: 12 characters including at least 1 uppercase 1 lowercase 1 digit and 1 symbol/special character The special character list is: !@#$%^&*()_+{}[]:;<>,.?~\- Renders 422 Unprocessable Entity with a relevant message for invalid passwords

fixes #189

drowninginflowers commented 11 months ago

The Reset Password path has been fixed by another branch and this branch has been rebased to reflect those changes. All password paths are now confirmed to work with the validator and render 422 Unprocessable Entity if a password is invalid according to the prescribed strength requirements