diff --git a/tethys_portal/settings.py b/tethys_portal/settings.py index 0aa8dd715..d84a303a7 100644 --- a/tethys_portal/settings.py +++ b/tethys_portal/settings.py @@ -462,7 +462,7 @@ AXES_ENABLED = not DEBUG AXES_FAILURE_LIMIT = 3 AXES_COOLOFF_TIME = dt.timedelta(hours=0.5) -AXES_ONLY_USER_FAILURES = True +AXES_LOCKOUT_PARAMETERS = ["username"] AXES_ENABLE_ADMIN = True AXES_LOCKOUT_TEMPLATE = "tethys_portal/accounts/lockout.html" AXES_VERBOSE = True