We should return more fancy status on POST to /logout than 404. I propose brought to a common status.
At now in client, we have 404 because request was redirected to logout.html, in my opinion should be returned only json with correctly status, a developer knows how to handle it.
We should return more fancy status on POST to /logout than 404. I propose brought to a common status. At now in client, we have 404 because request was redirected to
logout.html
, in my opinion should be returned only json with correctly status, a developer knows how to handle it.In console, we have "success!":