Merge branch 'global-ip-block' into dev

This commit is contained in:
R. Miles McCain
2021-01-23 23:01:53 -05:00
5 changed files with 26 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ def ingress_request(
return
session = Session.objects.create(
service=service,
ip=ip if service.collect_ips else None,
ip=ip if service.collect_ips and not settings.BLOCK_ALL_IPS else None,
user_agent=user_agent,
identifier=identifier.strip(),
browser=ua.browser.family or "",