pierrepo / MalariaSmearSearch

Blood smears database for malaria diagnosis :microscope:
GNU General Public License v3.0
1 stars 0 forks source link

Error message while logging #71

Closed pierrepo closed 7 years ago

pierrepo commented 7 years ago

When we try, to log in with the default user/password, we obtain an error message just below the username input field:

Field must be between 8 and 80 characters long.

It's unclear if it is the username that should be between 8 and 80 characters. It shouldn't be the case. App should tolerate short username (i.e. < 8 characters).

If it is the password that should be between 8 and 80 characters, then the error message is misplaced. It should be below the password input field. In addition, test account should have at least a 8-character long password.

nanls commented 7 years ago

No lower limit at all for the username ?

pierrepo commented 7 years ago

Let's say 5 characters as a minimum length. But be sure, the default user name is ok (admin -> admintest).