We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 667ec18 + 8e7a483 commit 6c95de8Copy full SHA for 6c95de8
utils.py
@@ -284,7 +284,8 @@ def log_agent():
284
"user_email": session.get('current-user-email', ""),
285
"session_id": session.get('gateway-session-id', ""),
286
"visitor_id": "", #this will be updated later via ajax call
287
- "ip_address": request.environ.get('HTTP_X_REAL_IP', request.remote_addr),
+ # "ip_address": request.environ.get('HTTP_X_REAL_IP', request.remote_addr),
288
+ "ip_address": request.remote_addr,
289
"user_agent": user_agent_string,
290
"device_family": user_agent_parsed.get('device',{}).get('family',""),
291
"device_brand": user_agent_parsed.get('device',{}).get('major',""),
0 commit comments