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

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