mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-12 09:33:12 +00:00
Fix configuration keys for COOLOFF_MESSAGE and PERMALOCK_MESSAGE
This commit is contained in:
parent
146c3b2b39
commit
521b6adb97
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ class MyAppConf(AppConf):
|
|||
IP_BLACKLIST = None
|
||||
|
||||
# message to show when locked out and have cooloff enabled
|
||||
AXES_COOLOFF_MESSAGE = 'Account locked: too many login attempts. Please try again later'
|
||||
COOLOFF_MESSAGE = 'Account locked: too many login attempts. Please try again later'
|
||||
|
||||
# message to show when locked out and have cooloff disabled
|
||||
AXES_PERMALOCK_MESSAGE = 'Account locked: too many login attempts. Contact an admin to unlock your account.'
|
||||
PERMALOCK_MESSAGE = 'Account locked: too many login attempts. Contact an admin to unlock your account.'
|
||||
|
|
|
|||
Loading…
Reference in a new issue