usnistgov / SpectrumBrowser

ITL
12 stars 11 forks source link

return error messages in addition to status codes from flaskr for the user account code #125

Closed jkubNTIA closed 9 years ago

jkubNTIA commented 9 years ago

Ranga suggested that the server return an error message (in addition to a status code) so that we can use the error messages on the client rather than having to do a 'case statement' for each error message. Also, the client and server will match better.

jkubNTIA commented 9 years ago

This is done for the account management page. I will make the same changes on the user account page.

ranganathanm commented 9 years ago

This appears to be done in your latest code so I am closing it.

ranganathanm commented 9 years ago

Ah not quite. User account allocation - i.e. when a user self provisions an account.

jkubNTIA commented 9 years ago

Yes. On my 'to do list'. I just finished refactoring the 'admin accounts', I will make the same changes to 'user accounts'.