totp: fix invalid settings
This commit is contained in:
parent
fbf58801ec
commit
258d59ef1b
|
@ -1,10 +1,10 @@
|
||||||
"""passbook TOTP Settings"""
|
"""passbook TOTP Settings"""
|
||||||
|
|
||||||
OTP_LOGIN_URL = 'passbook_tfa:tfa-verify'
|
OTP_LOGIN_URL = 'passbook_totp:totp-verify'
|
||||||
OTP_TOTP_ISSUER = 'passbook'
|
OTP_TOTP_ISSUER = 'passbook'
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
'django_otp.middleware.OTPMiddleware',
|
'django_otp.middleware.OTPMiddleware',
|
||||||
'passbook.tfa.middleware.tfa_force_verify',
|
'passbook.totp.middleware.totp_force_verify',
|
||||||
]
|
]
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
'django_otp',
|
'django_otp',
|
||||||
|
|
Reference in New Issue