npm-WebDAV-Server
npm-WebDAV-Server copied to clipboard
How to display relevant error to user
IListUserManager.getUserByName - for example I know that passsword is wrong, or username not exists. Or password expired, etc. How can I show this message in users client?
Hello,
I guess you implemented a custom HTTPAuthentication. In the method getUser, you can alter the response with the parameter ctx. But no mechanism is designed yet to explicitly send a custom response for an unauthorized user.