Reputation: 267
Is it possible for the admin to change a user's password through XMPP in ejabberd? After I logged in the admin account, I issued the following stanza:
<iq type="set" id="change6075" from="[email protected]">
<query xmlns="jabber:iq:register">
<username>user1</username>
<password>code1</password>
</query>
</iq>
But it doesn't work, how can I modify a user's password over XMPP using the admin account?
Upvotes: 3
Views: 2533
Reputation: 534
You can change the user password with the help of mod_admin_extra command:
$ ejabberdctl change-password User Host newPassword
Upvotes: 3