Fixed webauthn on chrome & docker

This commit is contained in:
Adrien P
2025-08-08 12:57:51 +02:00
parent 34bf77e14e
commit 012044ab5b
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -52,6 +52,7 @@ services:
sh -c "cd test_project
python3 manage.py migrate
python3 manage.py load_initial_data --dev
python3 manage.py set_default_site --name localhost --domain localhost
django-admin compilemessages
python3 manage.py runserver_plus 0.0.0.0:8000 --cert-file cert.crt"
depends_on:
-1
View File
@@ -34,7 +34,6 @@ def begin_registration(request):
),
list(get_creds_from_user(request.user.pk).values()),
user_verification=UserVerificationRequirement.DISCOURAGED,
extensions={"credentialProtectionPolicy": "userVerificationOptional"},
)
request.session["fido2_state"] = state
return dict(options)