summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-04-06 15:05:19 +0200
committerMickael Remond <mremond@process-one.net>2016-04-06 15:05:19 +0200
commitabf768274a2d4b996e0e02e42dc5c148bae2b480 (patch)
treef821a02dbef1b3867c24bca32bd235000f7d2df7 /src
parentMerge branch 'master' of github.com:processone/ejabberd (diff)
Fix error message paramater formatting
Diffstat (limited to 'src')
-rw-r--r--src/mod_admin_extra.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index feff8af8..c5525143 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -600,9 +600,9 @@ check_password_hash(User, Host, PasswordHash, HashMethod) ->
{A, _} when is_tuple(A) -> scrammed;
{_, <<"md5">>} -> get_md5(AccountPass);
{_, <<"sha">>} -> get_sha(AccountPass);
- {_, _Method} ->
+ {_, Method} ->
?ERROR_MSG("check_password_hash called "
- "with hash method", [_Method]),
+ "with hash method: ~p", [Method]),
undefined
end,
case AccountPassHash of