[PM-1063] Re-prompt for Master Password Can be Bypassed When Using Gboard Inline Autofill (#2593)

This commit is contained in:
Cesar Gonzalez 2023-07-11 08:15:37 -05:00 committed by GitHub
parent 11947ce99a
commit 1e79e1182f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();