From 25beb463910735bdf304b5c56de71d50a570625a Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 8 May 2015 12:04:04 +0200 Subject: [PATCH] Fix check_password_hash argument parsing (#559) --- src/mod_admin_extra.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index 023c29dcd..3687c1edf 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -190,7 +190,7 @@ commands() -> 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, binary}, {hashmethod, binary}], + args = [{user, binary}, {host, binary}, {passwordhash, string}, {hashmethod, string}], result = {res, rescode}}, #ejabberd_commands{name = change_password, tags = [accounts], desc = "Change the password of an account",