Wrong Error Message When Min Password Length too Short
Closed this issue · 1 comments
If user enters too large min password length, Kapua reports an error, which is OK, but the error message is wrong (it should be something similar to: "Value too small, it should be at least 12.")
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 1 (less than 12)
- Try to submit changes - observe the error.
Expected behavior
Error message should be changed - see above.
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
Additional context
Add any other context about the problem here.
I have verified that this issue has been resolved.