mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix check_password_hash argument parsing (#559)
This commit is contained in:
parent
7ab6c4b4fd
commit
25beb46391
@ -190,7 +190,7 @@ commands() ->
|
|||||||
desc = "Check if the password hash is correct",
|
desc = "Check if the password hash is correct",
|
||||||
longdesc = "Allowed hash methods: md5, sha.",
|
longdesc = "Allowed hash methods: md5, sha.",
|
||||||
module = ?MODULE, function = check_password_hash,
|
module = ?MODULE, function = check_password_hash,
|
||||||
args = [{user, binary}, {host, binary}, {passwordhash, binary}, {hashmethod, binary}],
|
args = [{user, binary}, {host, binary}, {passwordhash, string}, {hashmethod, string}],
|
||||||
result = {res, rescode}},
|
result = {res, rescode}},
|
||||||
#ejabberd_commands{name = change_password, tags = [accounts],
|
#ejabberd_commands{name = change_password, tags = [accounts],
|
||||||
desc = "Change the password of an account",
|
desc = "Change the password of an account",
|
||||||
|
Loading…
Reference in New Issue
Block a user