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
1 changed files with 3 additions and 1 deletions

View File

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