Fix command change_password (fixes #16)

This commit is contained in:
Badlop 2014-03-16 20:49:01 +01:00
parent 57035b383c
commit d72c739630
1 changed files with 1 additions and 1 deletions

View File

@ -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",