Wrong Error Message When Min Password Length >255
Opened this issue · 0 comments
if you set min password length to 256, the error message is"Value must be smaller than 255", but this is wrong, becasue min password length may actually be 255, so the message should be "Value must be smaller than 256".
Testflow:
- Login as kapua-sys
- Go to Accounts, create an account (e.g. acco0)
- Select acc0, go to Account settings, change password.min.lenght to 256
- Try to create a user with 255 password length - observe the error.
Expected behavior
Error message should be "Value must be smaller than 256", because min password lenght may actually be 255.
Version of Kapua
https://github.com/lorthirk/kapua/tree/feature-configurablePasswordLength
Type of deployment
[ ] Local Vagrant deployment
[x] Docker
[ ] Openshift (in its variants)
[ ] Others
Main component affected
[x] Console (in case of console please report info on which browser you encountered the problem)
[ ] REST API -> did not try rest api!!! -> please check!
[ ] Message Broker
[ ] - Others