0010-wip-enable-TOTP-auth-factor.patch
src/authentic2/settings.py | ||
---|---|---|
132 | 132 |
'xstatic.pkg.jquery', |
133 | 133 |
'xstatic.pkg.jquery_ui', |
134 | 134 |
'xstatic.pkg.select2', |
135 |
'authentic2.auth2_multifactor.auth_oath', |
|
135 | 136 |
) |
136 | 137 | |
137 | 138 |
INSTALLED_APPS = tuple(plugins.register_plugins_installed_apps(INSTALLED_APPS)) |
... | ... | |
163 | 164 |
########################### |
164 | 165 |
AUTH_USER_MODEL = 'custom_user.User' |
165 | 166 |
AUTH_FRONTENDS = plugins.register_plugins_authenticators(( |
166 |
'authentic2.authenticators.LoginPasswordAuthenticator',)) |
|
167 |
'authentic2.authenticators.LoginPasswordAuthenticator', |
|
168 |
'authentic2.auth2_multifactor.auth_oath.authenticator.TOTPAuthenticator')) |
|
167 | 169 | |
168 | 170 |
########################### |
169 | 171 |
# RBAC settings |
170 |
- |