metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

server: allow to return the real `authPolicy` error on authentication #341

Closed igorgo closed 6 years ago

igorgo commented 6 years ago

It would be very useful to return real authentication errors to the client, such as Account locked, Password expired, etc.