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

Improve indentation

This commit is contained in:
Evgeniy Khramtsov 2018-05-30 22:53:34 +03:00
parent dacba3ec00
commit 1261502f6a

View File

@ -233,18 +233,18 @@ check_password_with_authmodule(User, AuthzId, Server, Password, Digest, DigestGe
case jid:nodeprep(AuthzId) of case jid:nodeprep(AuthzId) of
error -> error ->
false; false;
LAuthzId -> LAuthzId ->
lists:foldl( lists:foldl(
fun(Mod, false) -> fun(Mod, false) ->
case db_check_password( case db_check_password(
LUser, LAuthzId, LServer, Password, LUser, LAuthzId, LServer, Password,
Digest, DigestGen, Mod) of Digest, DigestGen, Mod) of
true -> {true, Mod}; true -> {true, Mod};
false -> false false -> false
end; end;
(_, Acc) -> (_, Acc) ->
Acc Acc
end, false, auth_modules(LServer)) end, false, auth_modules(LServer))
end end
end. end.