From 521b6adb97bcfb31a4e7a35b0b827a32ecf77929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20H=C3=A4kli?= Date: Wed, 11 Apr 2018 22:04:07 +0300 Subject: [PATCH] Fix configuration keys for COOLOFF_MESSAGE and PERMALOCK_MESSAGE --- axes/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axes/conf.py b/axes/conf.py index f9a0c83..19f5fbe 100644 --- a/axes/conf.py +++ b/axes/conf.py @@ -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.'