Fix configuration keys for COOLOFF_MESSAGE and PERMALOCK_MESSAGE

This commit is contained in:
Aleksi Häkli 2018-04-11 22:04:07 +03:00
parent 146c3b2b39
commit 521b6adb97

View file

@ -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.'