Project

General

Profile

0010-wip-enable-TOTP-auth-factor.patch

Valentin Deniaud, 04 April 2019 05:07 PM

Download (1.22 KB)

View differences:

Subject: [PATCH 10/13] wip: enable TOTP auth factor

Temporary commit, should be replaced by a README indicating the
necessary config changes.
 src/authentic2/settings.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
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