sso: Use new features of axes, log axes messages

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-07-21 09:05:58 -04:00
1 parent 9c8b48ceac
commit 0f807bcd48
7 files changed
+40 -10

No files matched your search

@@ -22,6 +22,14 @@ import os
TEST_DATA_DIR = os.path.dirname(os.path.abspath(__file__))
AXES_ENABLED = False
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache'
}
}
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
@@ -30,6 +38,7 @@ DATABASES = {
}
INSTALLED_APPS = [
'axes',
'captcha',
'bootstrapform',
'django.contrib.auth',