diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-11-10 11:20:57 +0100 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-11-15 10:02:21 +0100 |
commit | 5ffc01db5301fddae639701479f5c19ed2267723 (patch) | |
tree | 9660be9637f2ffbf912be9332ba22cbed0bfb372 /src | |
parent | Make string args in http_api be list strings (diff) |
Fix types in check_password_hash
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_admin_extra.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 2967e86a0..053ce8092 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -176,8 +176,8 @@ get_commands_spec() -> desc = "Check if the password hash is correct", longdesc = "Allowed hash methods: md5, sha.", module = ?MODULE, function = check_password_hash, - args = [{user, binary}, {host, binary}, {passwordhash, string}, - {hashmethod, string}], + args = [{user, binary}, {host, binary}, {passwordhash, binary}, + {hashmethod, binary}], args_example = [<<"peter">>, <<"myserver.com">>, <<"5ebe2294ecd0e0f08eab7690d2a6ee69">>, <<"md5">>], args_desc = ["User name to check", "Server to check", |