Remove browser condition for filter users Geo IP
This commit is contained in:
		| @@ -83,11 +83,10 @@ class IWLADisplayFilterUsers(IPlugin): | ||||
|                 ip_title = ip | ||||
|                 if 'dns_name_replaced' in hits[ip].keys(): | ||||
|                     ip_title = '%s [%s]' % (hits[ip]['remote_addr'], ip) | ||||
|                 if filtered_user.get('operating_system', 'android') not in ('android', 'ios_iphone'): | ||||
|                     location = filtered_user.get('geo_location', {}) | ||||
|                     if location: | ||||
|                         location_str = '(%s/%s)' % (location.get('city', unknown), location.get('countryname', unknown)) | ||||
|                         ip_title = f'{ip_title}<br/>{location_str}' | ||||
|                 location = filtered_user.get('geo_location', {}) | ||||
|                 if location: | ||||
|                     location_str = '(%s/%s)' % (location.get('city', unknown), location.get('countryname', unknown)) | ||||
|                     ip_title = f'{ip_title}<br/>{location_str}' | ||||
|                 table.appendRow([f'<b>{ip_title}</b>', '', '']) | ||||
|                 table.setCellCSSClass(row, 0, '') | ||||
|                 for r in hits[ip]['requests'][::-1]: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user