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

Do no add 127.0.0.1 address to trusted_proxies list by default

This commit is contained in:
Paweł Chmielowski 2018-10-24 15:16:32 +02:00
parent e369a93809
commit 432ca80db6

View File

@ -573,7 +573,7 @@ is_ipchain_trusted(UserIPs, Masks) ->
lists:any(
fun({Mask, MaskLen}) ->
acl:ip_matches_mask(IP2, Mask, MaskLen)
end, [{{127,0,0,1}, 8} | Masks]);
end, Masks);
_ ->
false
end