You are not logged in.
Pages: 1
Is it possible that on failed setuser request the server will be able to response with an error message ( 'incorrect password'/'user expired'....) ?
Offline
We returned a generic error for all authentication failures, since such indications may be not safe in real applications: too much information may help brute force attack.
So we would rather not change the default behavior.
But we renamed the TSQLRestServer.OnSessionFailed event as TSQLRestServer.OnAuthenticationFailed, including a new TNotifyAuthenticationFailedReason parameter so that the callback would be able to identify which kind of failure did occur.
See http://synopse.info/fossil/info/59a04453f1
You would therefore be able to add your custom TSQLRestServer.OnAuthenticationFailed callback, then chang ethe returned error message according to your needs.
Offline
Pages: 1