Skip to content

Commit

Permalink
Replace deprecated Django Axes setting (#986)
Browse files Browse the repository at this point in the history
* Replace deprecated Django Axes setting

* Black

---------

Co-authored-by: sdc50 <[email protected]>
  • Loading branch information
swainn and sdc50 authored Sep 1, 2023
1 parent da87966 commit e9365fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tethys_portal/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9365fa

Please sign in to comment.