mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fixed webauthn on chrome & docker
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user