DummyClassOrg / main

dummy for issue
0 stars 2 forks source link

Incorrect error message #1554

Open nus-pe-script opened 5 years ago

nus-pe-script commented 5 years ago

Describe the bug When logging in as an already-registered user, when I log in with the correct username but incorrect password, the message indicates that my username is not found in the system.

To Reproduce Steps to reproduce the behavior:

  1. Type 'addUser uName/tristy uPass/pe2'
  2. Type 'login uName/tristy uPass/pe'
  3. See error

Expected behavior It should indicate that password is wrong instead of misleading user that his/her username is wrong when it is correct.

Screenshots If applicable, add screenshots to help explain your problem. image image

Additional context NIL

OS and Java Version


[original: dummy#36]