24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-06 21:37:17 +02:00

Fix error message paramater formatting

This commit is contained in:
Mickael Remond 2016-04-06 15:05:19 +02:00
parent b2279d481d
commit abf768274a

View File

@ -600,9 +600,9 @@ check_password_hash(User, Host, PasswordHash, HashMethod) ->
{A, _} when is_tuple(A) -> scrammed; {A, _} when is_tuple(A) -> scrammed;
{_, <<"md5">>} -> get_md5(AccountPass); {_, <<"md5">>} -> get_md5(AccountPass);
{_, <<"sha">>} -> get_sha(AccountPass); {_, <<"sha">>} -> get_sha(AccountPass);
{_, _Method} -> {_, Method} ->
?ERROR_MSG("check_password_hash called " ?ERROR_MSG("check_password_hash called "
"with hash method", [_Method]), "with hash method: ~p", [Method]),
undefined undefined
end, end,
case AccountPassHash of case AccountPassHash of