NorthArrowResearch / champ-workbench

http://workbench.northarrowresearch.com/
GNU General Public License v3.0
0 stars 0 forks source link

update api authorization message to distinguish between invalid password and no authorization #37

Open volkcj opened 7 years ago

volkcj commented 7 years ago

Two different messages are returned in the api (Postman) when an invalid password is used and when a user is not authorized. The workbench currently returns the same message when these two cases occur, and it would be helpful to return different messages in the workbench to reflect the different issues.

Message returned when user does not have correct authorization permissions via api 2017-08-01_075155

Message returned when password to api is incorrect: 2017-08-01_080004