HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: How to change the password of the user in API v2?
-
Re: How to change the password of the user in API v2?
-
Re: How to change the password of the user in API v2?
There is no endpoint dedicated to that, as far as I can see. But the AuthenticateApiController has a post_password() method which can be used to check if the "old password" info is correct. Afterwards, with the UsersApiController patch() method, you should be able to set the new password. But I assume that all the password… -
Re: How to change the password of the user in API v2?
The ApiController uses the UserModel->save() method. That method fires the BeforeSave event. Write a simple plugin with the following method: public function userModel_beforeSave_handler($sender, $args) { Gdn::set('debug-'.time(), dbencode($args['Fields'])); } That will log in the table GDN_UserMeta what is saved by the…
4 results