Projet

Général

Profil

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

Valentin Deniaud, 04 avril 2019 17:07

Télécharger (1,22 ko)

Voir les différences:

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
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
-