0010-wip-enable-TOTP-auth-factor.patch
| src/authentic2/settings.py | ||
|---|---|---|
|
'xstatic.pkg.jquery',
|
||
|
'xstatic.pkg.jquery_ui',
|
||
|
'xstatic.pkg.select2',
|
||
|
'authentic2.auth2_multifactor.auth_oath',
|
||
|
)
|
||
|
INSTALLED_APPS = tuple(plugins.register_plugins_installed_apps(INSTALLED_APPS))
|
||
| ... | ... | |
|
###########################
|
||
|
AUTH_USER_MODEL = 'custom_user.User'
|
||
|
AUTH_FRONTENDS = plugins.register_plugins_authenticators((
|
||
|
'authentic2.authenticators.LoginPasswordAuthenticator',))
|
||
|
'authentic2.authenticators.LoginPasswordAuthenticator',
|
||
|
'authentic2.auth2_multifactor.auth_oath.authenticator.TOTPAuthenticator'))
|
||
|
###########################
|
||
|
# RBAC settings
|
||