Skip to content

Commit

Permalink
Merge branch 'develop' into fix/flatpak-autostart
Browse files Browse the repository at this point in the history
  • Loading branch information
moriol42 authored Apr 21, 2024
2 parents 4e81266 + cb1ae44 commit 4b2e569
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser/BrowserService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ QJsonObject BrowserService::showPasskeysRegisterPrompt(const QJsonObject& public
const auto existingEntries = getPasskeyEntriesWithUserHandle(rpId, userId, keyList);

raiseWindow();
BrowserPasskeysConfirmationDialog confirmDialog;
BrowserPasskeysConfirmationDialog confirmDialog(m_currentDatabaseWidget);
confirmDialog.registerCredential(username, rpId, existingEntries, timeout);

auto dialogResult = confirmDialog.exec();
Expand Down Expand Up @@ -712,7 +712,7 @@ QJsonObject BrowserService::showPasskeysAuthenticationPrompt(const QJsonObject&
const auto timeout = publicKeyOptions["timeout"].toInt();

raiseWindow();
BrowserPasskeysConfirmationDialog confirmDialog;
BrowserPasskeysConfirmationDialog confirmDialog(m_currentDatabaseWidget);
confirmDialog.authenticateCredential(entries, rpId, timeout);
auto dialogResult = confirmDialog.exec();
if (dialogResult == QDialog::Accepted) {
Expand Down

0 comments on commit 4b2e569

Please sign in to comment.