]> granicus.if.org Git - ejabberd/commitdiff
Fix types in check_password_hash
authorPaweł Chmielowski <pchmielowski@process-one.net>
Thu, 10 Nov 2016 10:20:57 +0000 (11:20 +0100)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Tue, 15 Nov 2016 09:02:21 +0000 (10:02 +0100)
src/mod_admin_extra.erl

index 2967e86a03f27a0caa9536613bba87202cc45c75..053ce8092935720b1272bcc0c9b872076d68bd75 100644 (file)
@@ -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",