Passkeys only: drop adding security keys

This commit is contained in:
Daniel Redetzke
2026-10-04 22:13:31 +03:00
parent ea13593925
commit 6570611ed8
4 changed files with 51 additions and 59 deletions
+1 -1
View File
@@ -1050,7 +1050,7 @@ func TestMFA(t *testing.T) {
if o := adm("GET", "/auth/options", nil, 200); o["passkeys"] != false {
t.Fatalf("passkeys offered on an IP address: %v", o)
}
adm("POST", "/auth/mfa/keys/begin", map[string]bool{"passkey": true}, 400)
adm("POST", "/auth/mfa/keys/begin", nil, 400)
// Turn on the authenticator app; the first method brings recovery codes.
setup := adm("POST", "/auth/mfa/totp/setup", nil, 200)