I am looking for a way to notify the user that his account was locked.
The use case is that a /bc/ping serivic is used for checking the user credentials. When the server responds with http 200 everything is ok. But if the login fails - there are numerous reasons but only one http response code (401 Forbidden)
I'd like to be able to receive at least on more code i.e. user is locked via a "free" http code like 402 or 418
Add comment