From 234e0b247b83cd331c3bd60c5f705cd431cac1b3 Mon Sep 17 00:00:00 2001 From: cumdev1337 Date: Sat, 28 Feb 2026 02:48:48 +0200 Subject: [PATCH] Save webauthn resident key --- Telegram/SourceFiles/platform/win/webauthn_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/win/webauthn_win.cpp b/Telegram/SourceFiles/platform/win/webauthn_win.cpp index 657d2cbd02..a121a4df16 100644 --- a/Telegram/SourceFiles/platform/win/webauthn_win.cpp +++ b/Telegram/SourceFiles/platform/win/webauthn_win.cpp @@ -160,7 +160,7 @@ void RegisterKey( || defined(WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_7) \ || defined(WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_8) \ || defined(WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_9) - options.bPreferResidentKey = FALSE; + options.bPreferResidentKey = TRUE; #endif auto hwnd = (HWND)(nullptr);