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:
parent
1af2cf37ea
commit
2d45832a39
@ -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()}.
|
||||||
|
Loading…
Reference in New Issue
Block a user