diff --git a/server/src/uds/core/util/request.py b/server/src/uds/core/util/request.py index 8119b88d7..cac36e54e 100644 --- a/server/src/uds/core/util/request.py +++ b/server/src/uds/core/util/request.py @@ -110,10 +110,6 @@ class GlobalRequestMiddleware(object): request.ip_proxy = request.ip request.is_proxy = False - # Always honor proxy if we are behind a proxy - if GlobalConfig.BEHIND_PROXY.getBool(False) is True: - request.ip = request.ip_proxy - @staticmethod def getUser(request): '''