25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Fix command change_password (fixes #16)

This commit is contained in:
Badlop 2014-03-16 20:49:01 +01:00
parent 57035b383c
commit d72c739630

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