25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

ejabberd_auth: Restore lost case clause

Let check_password_with_authmodule/6 handle the case where
validate_credentials/2 returns an error.  This got lost in commit
4f8af723c6.
This commit is contained in:
Holger Weiss 2018-07-26 22:37:25 +02:00
parent 1af2cf37ea
commit 2d45832a39

View File

@ -245,7 +245,9 @@ check_password_with_authmodule(User, AuthzId, Server, Password, Digest, DigestGe
(_, Acc) -> (_, Acc) ->
Acc Acc
end, false, auth_modules(LServer)) end, false, auth_modules(LServer))
end end;
_ ->
false
end. end.
-spec set_password(binary(), binary(), password()) -> ok | {error, atom()}. -spec set_password(binary(), binary(), password()) -> ok | {error, atom()}.