mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix types in check_password_hash
This commit is contained in:
parent
717159a98f
commit
5ffc01db53
@ -176,8 +176,8 @@ get_commands_spec() ->
|
|||||||
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, string},
|
args = [{user, binary}, {host, binary}, {passwordhash, binary},
|
||||||
{hashmethod, string}],
|
{hashmethod, binary}],
|
||||||
args_example = [<<"peter">>, <<"myserver.com">>,
|
args_example = [<<"peter">>, <<"myserver.com">>,
|
||||||
<<"5ebe2294ecd0e0f08eab7690d2a6ee69">>, <<"md5">>],
|
<<"5ebe2294ecd0e0f08eab7690d2a6ee69">>, <<"md5">>],
|
||||||
args_desc = ["User name to check", "Server to check",
|
args_desc = ["User name to check", "Server to check",
|
||||||
|
Loading…
Reference in New Issue
Block a user