This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/totp/settings.py

14 lines
324 B
Python
Raw Normal View History

2018-12-14 09:09:57 +00:00
"""passbook TOTP Settings"""
2018-11-16 08:10:35 +00:00
2018-12-14 09:28:25 +00:00
OTP_LOGIN_URL = 'passbook_totp:totp-verify'
2018-11-16 08:10:35 +00:00
OTP_TOTP_ISSUER = 'passbook'
MIDDLEWARE = [
'django_otp.middleware.OTPMiddleware',
2018-12-14 09:28:25 +00:00
'passbook.totp.middleware.totp_force_verify',
2018-11-16 08:10:35 +00:00
]
INSTALLED_APPS = [
'django_otp',
'django_otp.plugins.otp_static',
'django_otp.plugins.otp_totp',
]