aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-08-08 20:38:08 +0200
committerMichał Górny <mgorny@gentoo.org>2013-08-09 22:40:21 +0200
commit93b23237828ec4b37ed3494d658d5c8d599bcb48 (patch)
tree1bcac363fc420c8e25cc71da00f55916b522d916 /okupy/settings
parentIntroduce a dummy token input. (diff)
downloadidentity.gentoo.org-93b23237828ec4b37ed3494d658d5c8d599bcb48.tar.gz
identity.gentoo.org-93b23237828ec4b37ed3494d658d5c8d599bcb48.tar.bz2
identity.gentoo.org-93b23237828ec4b37ed3494d658d5c8d599bcb48.zip
Support TOTP with database storage (temporarily).
A dedicated database model is used to store the secrets. If user does not have a secret, it is assumed that he disabled OTP.
Diffstat (limited to 'okupy/settings')
-rw-r--r--okupy/settings/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/okupy/settings/__init__.py b/okupy/settings/__init__.py
index eaa496e..04d04ad 100644
--- a/okupy/settings/__init__.py
+++ b/okupy/settings/__init__.py
@@ -157,6 +157,7 @@ INSTALLED_APPS = (
'django.contrib.staticfiles',
'okupy.accounts',
'okupy.otp.nootp',
+ 'okupy.otp.totp',
)
#Compressor settings