From b3d422af156ed80120888779e25c4672273c4131 Mon Sep 17 00:00:00 2001 From: Badlop Date: Sun, 16 Mar 2014 20:49:01 +0100 Subject: [PATCH] Fix command change_password (fixes #16) --- mod_admin_extra/src/mod_admin_extra.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_admin_extra/src/mod_admin_extra.erl b/mod_admin_extra/src/mod_admin_extra.erl index c5060f0..109fd66 100644 --- a/mod_admin_extra/src/mod_admin_extra.erl +++ b/mod_admin_extra/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",