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