MDeLuise / plant-it

🪴 Self-hosted, open source gardening companion app
https://plant-it.org
GNU General Public License v3.0
686 stars 25 forks source link

New user with invalid password shows no error #280

Closed igorsantos07 closed 3 months ago

igorsantos07 commented 3 months ago

Avoid duplicated bug reports

Description

It looks like there's a 6-char minimum limit to user passwords, but when I tried setting up the usual admin/admin pair, it did nothing.

I found this on the console and was able to parse it and understand what was going on: image

I would also suggest parsing server errors on all API responses, as there's usually little use for the frontend to get a Java stacktrace. In my projects I usually shove the stacktrace in a details property on the JSON error response.

Local environment

Fresh install using the default settings from README

github-actions[bot] commented 3 months ago

Hi @igorsantos07,

This task has been completed and will be implemented in the next project release.

Thank you for your contribution!

If you have any further questions or updates regarding this task, feel free to leave a comment below.