I'm looking to create a form to allow mailbox users to change their password.
I'm able to connect and reset the password using passwd, but when I try to introduce verification using vpasswd I get and ERROR status returned and the following error in the API log
2014-07-21 15:32:48 ERROR: mailbox: vpasswd: Unable to validate password, incorrect MD5 crypt string.
I'm using the template from the help with the correct myuser, mykey and account
https://acc.rollernet.us/api/api.php?u= ... p]=oldpass
Should I be encrypting oldpass somehow?
account api vpasswd error
Moderator: Moderators
Re: account api vpasswd error
No, the verification password does not need to be sent as an encrypted value. It may be an error on our side I'll have to check.
Seth Mattinen, Roller Network LLC
Re: account api vpasswd error
It's an error in our routine that checks the hash format for the API; it was overlooked when expanding crypt hash support for SHA-256 and SHA-512. It's pulling the hash for verification from the database and throwing the error when seeing type 6 (SHA-512).
Seth Mattinen, Roller Network LLC
Re: account api vpasswd error
just tried and it's working, thank