mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
fix ipware
This commit is contained in:
parent
bb6f874bda
commit
968187534e
3 changed files with 6 additions and 6 deletions
8
poetry.lock
generated
8
poetry.lock
generated
|
@ -432,13 +432,13 @@ bcrypt = ["bcrypt"]
|
|||
|
||||
[[package]]
|
||||
name = "django-axes"
|
||||
version = "6.0.5"
|
||||
version = "6.1.0"
|
||||
description = "Keep track of failed login attempts in Django-powered sites."
|
||||
optional = false
|
||||
python-versions = ">=3.7"
|
||||
files = [
|
||||
{file = "django-axes-6.0.5.tar.gz", hash = "sha256:57d29f16ca46a8e7c99252d710bf36412e35f12f338faac25f2f547618f328e8"},
|
||||
{file = "django_axes-6.0.5-py3-none-any.whl", hash = "sha256:36882c35deae09ec5f459bebde4e66cdccecd01ef456788cfba0ca58500b7a5b"},
|
||||
{file = "django-axes-6.1.0.tar.gz", hash = "sha256:a7d509dc76e67440839522a182dc63ecafc3bac3af9de6f263d2bcec1154e50e"},
|
||||
{file = "django_axes-6.1.0-py3-none-any.whl", hash = "sha256:e3d44d4ec64ba6d470ef01b6c4b53b6b3747de96821f7c0ef96c64bffa9f6f74"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
|
@ -1367,4 +1367,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
|
|||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.9"
|
||||
content-hash = "b53d1b96a7dcf3343c7a3b25c1eeefbc1960b97c1a11678745f038a71b48ac82"
|
||||
content-hash = "52039aabc062bccf91c23e6df758e4b77bf76fd30d9485a83f00f4cd5804167d"
|
||||
|
|
|
@ -19,7 +19,7 @@ libsass = "^0.22.0"
|
|||
django-debug-toolbar = "^4.0.0"
|
||||
django-tenants = "^3.3.2"
|
||||
django-tenant-users = {git = "https://github.com/Corvia/django-tenant-users.git"}
|
||||
django-axes = {extras = ["ipware"], version = "^6.0.1"}
|
||||
django-axes = {extras = ["ipware"], version = "^6.1.0"}
|
||||
django-registration = "^3.2"
|
||||
django-csp = "^3.7"
|
||||
django-redis = "^5.0.0"
|
||||
|
|
|
@ -272,7 +272,7 @@ if not DEBUG:
|
|||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
AXES_META_PRECEDENCE_ORDER = ['HTTP_X_REAL_IP']
|
||||
AXES_IPWARE_META_PRECEDENCE_ORDER = ['HTTP_X_REAL_IP']
|
||||
AXES_COOLOFF_TIME = timedelta(hours=1)
|
||||
AXES_FAILURE_LIMIT = 6
|
||||
|
||||
|
|
Loading…
Reference in a new issue