mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[EC-598] feat: interpret rk preferred as required
Fixes GoDaddy issues
This commit is contained in:
@@ -95,6 +95,7 @@ export class Fido2ClientService implements Fido2ClientServiceAbstraction {
|
|||||||
const makeCredentialParams: Fido2AuthenticatorMakeCredentialsParams = {
|
const makeCredentialParams: Fido2AuthenticatorMakeCredentialsParams = {
|
||||||
requireResidentKey:
|
requireResidentKey:
|
||||||
params.authenticatorSelection?.residentKey === "required" ||
|
params.authenticatorSelection?.residentKey === "required" ||
|
||||||
|
params.authenticatorSelection?.residentKey === "preferred" ||
|
||||||
(params.authenticatorSelection?.residentKey === undefined &&
|
(params.authenticatorSelection?.residentKey === undefined &&
|
||||||
params.authenticatorSelection?.requireResidentKey === true),
|
params.authenticatorSelection?.requireResidentKey === true),
|
||||||
requireUserVerification: params.authenticatorSelection?.userVerification === "required",
|
requireUserVerification: params.authenticatorSelection?.userVerification === "required",
|
||||||
|
|||||||
Reference in New Issue
Block a user