From 4b3b403345942fa9e16020880051fc1ca34f31c0 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Wed, 18 Jun 2014 21:59:09 +0200 Subject: [PATCH] Remove IP address from client_id - PRIVACY --- anonsurvey/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anonsurvey/views.py b/anonsurvey/views.py index 5e44833..b39e1a5 100644 --- a/anonsurvey/views.py +++ b/anonsurvey/views.py @@ -63,7 +63,8 @@ def complete_survey(request, pk): if not existing_answers: break time.sleep(0.001) - client_id = '{}@{}'.format(client_id, utils.get_client_ip(request)) + # remove ip address from client_id - PRIVACY + # client_id = '{}@{}'.format(client_id, utils.get_client_ip(request)) client_answers = [] # parse, validate and collect answers # if survey is inactive questions is empty list (see above)