From 598c4b818050237f5a27c7a2002b8f2fa18277ab Mon Sep 17 00:00:00 2001 From: Camilo Nova Date: Mon, 18 Dec 2017 18:18:09 -0500 Subject: [PATCH] Remove non needed settings --- axes/conf.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/axes/conf.py b/axes/conf.py index b30fec0..ece37df 100644 --- a/axes/conf.py +++ b/axes/conf.py @@ -1,17 +1,9 @@ from django.conf import settings + from appconf import AppConf class MyAppConf(AppConf): - # see if the django app is sitting behind a reverse proxy - BEHIND_REVERSE_PROXY = False - - # if we are behind a proxy, we need to know how many proxies there are - NUM_PROXIES = 0 - - # behind a reverse proxy, look for the ip address using this value - REVERSE_PROXY_HEADER = 'HTTP_X_FORWARDED_FOR' - # see if the user has overridden the failure limit FAILURE_LIMIT = 3