Change a User's Login Info
Previous Topic  Next Topic 

This action pre-validates the given credentials and verifies that a call to /admin/adduser or /admin/edituser will succeed. Note that the old password is not required. Used when an administrator changes account settings for other users.


URL: /admin/updateajax


Example URL: http://host:port/admin/updateajax


HTTP method: POST


Parameters:

username_field,

hf_oldusername,

userpassword,

userpasswordconfirm (_pwd_was_not_changed_ when password is not changing)


Result:


JSON:

Success: "{'resultType':'success', message:''}"

Failure: "{'resultType':'error', message:' error message here '}"