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: enable returning errors from authPolicy #342

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.

belochub commented 6 years ago

Landed in https://github.com/metarhia/jstp/commit/f108ab627cb31b2ed645f1ccd7d01b30a65e3e5e.