Community
Participate
Working Groups
Currently I can change a password without knowing my old password. This is bad because: - If someone accessed my machine when I'm not looking, they can change my password - If malicious code somehow gets into our pages it can invoke the service to change passwords without knowing the current one. However the admin user needs to be able to change passwords without knowing the old one, for the case where the user has forgotten their password. So, I suggest: The service call to change password accept both old and new passwords. If the currently authenticated user is the administrator, the old password is not ignored/not required. If the currently authenticated user is not the administartor, we check for a match on the old password before processing the request.
done