Skip to content
Snippets Groups Projects
Unverified Commit 8b9511f9 authored by f00wl's avatar f00wl
Browse files

fix(typo): invalid keywor, «d» missing

parent 1a5ef6cf
No related branches found
No related tags found
1 merge request!50Resolve "Activation de la 2FA avec TOTP et interface utilisateurice"
Pipeline #24314 passed
......@@ -50,7 +50,7 @@ def totp():
def totp_enable():
user = flask_login.current_user
if models.Auth.TOTP not in user.auths:
auth = models.Auth(models.Auth.TOTP, enable=False)
auth = models.Auth(models.Auth.TOTP, enabled=False)
auth.set_otp_key()
user.auths[models.Auth.TOTP] = auth
models.db.session.add(auth)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment