django-mfa3

multi factor authentication for django
git clone https://git.ce9e.org/django-mfa3.git

commit
4a298b20ac756b3f244a3eb7d9496866173f78de
parent
8118401b3574008cf7857e03576e64d06c390b56
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-02-03 13:56
fido2: fix json mapping deprecation warning

Diffstat

M mfa/methods/fido2.py 2 ++

1 files changed, 2 insertions, 0 deletions


diff --git a/mfa/methods/fido2.py b/mfa/methods/fido2.py

@@ -1,4 +1,5 @@
    1     1 from fido2 import cbor
   -1     2 from fido2.features import webauthn_json_mapping
    2     3 from fido2.server import Fido2Server
    3     4 from fido2.utils import websafe_decode
    4     5 from fido2.utils import websafe_encode
@@ -12,6 +13,7 @@ from .. import settings
   12    13 
   13    14 name = 'FIDO2'
   14    15 
   -1    16 webauthn_json_mapping.enabled = False
   15    17 fido2 = Fido2Server(
   16    18     PublicKeyCredentialRpEntity(id=settings.DOMAIN, name=settings.SITE_TITLE),
   17    19 )