aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2014-03-16 20:49:01 +0100
committerBadlop <badlop@process-one.net>2015-03-26 14:00:08 +0100
commitd72c739630ef4bb32c8630ed3788929c3238773b (patch)
treea30819ce3d25d54fb854120d8e059940e3dea618 /src
parentHandle error when requesting information of a non-existing shared roster (fix... (diff)
Fix command change_password (fixes #16)
Diffstat (limited to 'src')
-rw-r--r--src/mod_admin_extra.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index c5060f088..109fd6652 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -198,7 +198,7 @@ commands() ->
#ejabberd_commands{name = change_password, tags = [accounts],
desc = "Change the password of an account",
module = ?MODULE, function = set_password,
- args = [{user, string}, {host, string}, {newpass, string}],
+ args = [{user, binary}, {host, binary}, {newpass, binary}],
result = {res, rescode}},
#ejabberd_commands{name = ban_account, tags = [accounts],
desc = "Ban an account: kick sessions and set random password",