Merge pull request #2206 from keepassxreboot/fix/passkeys_remove_temporary_exceptions

Passkeys: Remove temporary exceptions
This commit is contained in:
Sami Vänttinen 2024-05-27 19:06:52 +03:00 committed by GitHub
commit d433d8ac3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,11 +94,6 @@ kpxcPasskeysUtils.buildCredentialCreationOptions = function(pkOptions, sameOrigi
publicKey.user.id = arrayBufferToBase64(pkOptions.user.id);
publicKey.user.name = pkOptions.user.name;
// TODO: Disable after fixed in KeePassXC side
if (!publicKey.rp.id) {
publicKey.rp.id = window.location.hostname;
}
return publicKey;
} catch (e) {
console.log(e);
@ -138,11 +133,6 @@ kpxcPasskeysUtils.buildCredentialRequestOptions = function(pkOptions, sameOrigin
}
}
// TODO: Disable after fixed in KeePassXC side
if (!publicKey.rpId) {
publicKey.rpId = window.location.hostname;
}
return publicKey;
} catch (e) {
console.log(e);