From e28f5187bc6561c9190b9fdad1fb2e12247a8aaf Mon Sep 17 00:00:00 2001 From: varjolintu Date: Sat, 6 Jan 2024 08:50:24 +0200 Subject: [PATCH] Passkeys: Fix default timeout on authentication --- src/browser/BrowserService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/BrowserService.cpp b/src/browser/BrowserService.cpp index 8f663a7c7..8cb5e04c5 100644 --- a/src/browser/BrowserService.cpp +++ b/src/browser/BrowserService.cpp @@ -709,7 +709,7 @@ QJsonObject BrowserService::showPasskeysAuthenticationPrompt(const QJsonObject& return getPublicKeyCredentialFromEntry(entries.first(), publicKey, origin); } - const auto timeout = publicKey["timeout"].toInt(); + const auto timeout = browserPasskeys()->getTimeout(userVerification, publicKey["timeout"].toInt()); raiseWindow(); BrowserPasskeysConfirmationDialog confirmDialog;