From 1e79e1182fb5891fed8d25483b7adeadc6e8edfd Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Tue, 11 Jul 2023 08:15:37 -0500 Subject: [PATCH] [PM-1063] Re-prompt for Master Password Can be Bypassed When Using Gboard Inline Autofill (#2593) --- src/App/Pages/Vault/CiphersPageViewModel.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/App/Pages/Vault/CiphersPageViewModel.cs b/src/App/Pages/Vault/CiphersPageViewModel.cs index 7ca3f82d8..9025c7341 100644 --- a/src/App/Pages/Vault/CiphersPageViewModel.cs +++ b/src/App/Pages/Vault/CiphersPageViewModel.cs @@ -208,6 +208,11 @@ namespace Bit.App.Pages } else if (selection == AppResources.Autofill || selection == AppResources.AutofillAndSave) { + if (cipher.Reprompt != CipherRepromptType.None && !await _passwordRepromptService.ShowPasswordPromptAsync()) + { + return; + } + if (selection == AppResources.AutofillAndSave) { var uris = cipher.Login?.Uris?.ToList();