mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-24 04:31:15 -05:00
Passkeys: Fix RP ID validation
This commit is contained in:
parent
969d3f9b23
commit
bd5984ca82
3 changed files with 14 additions and 10 deletions
|
|
@ -581,7 +581,7 @@ QJsonObject BrowserService::showPasskeysRegisterPrompt(const QJsonObject& public
|
|||
}
|
||||
|
||||
const auto excludeCredentials = credentialCreationOptions["excludeCredentials"].toArray();
|
||||
const auto rpId = publicKeyOptions["rp"]["id"].toString();
|
||||
const auto rpId = credentialCreationOptions["rp"].toObject()["id"].toString();
|
||||
const auto timeout = publicKeyOptions["timeout"].toInt();
|
||||
const auto username = credentialCreationOptions["user"].toObject()["name"].toString();
|
||||
const auto user = credentialCreationOptions["user"].toObject();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue