WildAid / o-fish-web

Web application for the Officer's Fishery Information Sharing Hub (O-FISH). The web app allows agencies to gain insights from the aggregated information gathered during a routine vessel inspection (submitted via the web app).
Apache License 2.0
32 stars 41 forks source link

On create user, if a password isn't good there's no feedback as to why #444

Closed Sheeri closed 2 years ago

Sheeri commented 2 years ago

Describe the bug No good error message if a password is <6 chars or >128 chars - just a red bar

To Reproduce

  1. Go to Users -> All Users
  2. Click on Add New User
  3. fill in email foo@bar.com
  4. pick any role
  5. add password of "pass" or anything under 6 chars
  6. Click "Create User"

Nothign seems to happen, but if you scroll down you see a red highlighted part that's empty.

Expected behavior There should be a good error message

Screenshots User interface: Screen Shot 2022-01-25 at 9 47 37 AM

Realm logs: Screen Shot 2022-01-25 at 9 47 56 AM

Sheeri commented 2 years ago

Screen Shot 2022-02-01 at 11 40 19 AM

Looks great, closing!