From aa2da5713962fa9e19b9f7730cd9a532796ae8d1 Mon Sep 17 00:00:00 2001 From: Cesar Gonzalez Date: Tue, 16 May 2023 18:00:09 -0500 Subject: [PATCH] [PM-595] Autofill doesn't work for logins without passwords (#5325) --- apps/browser/src/autofill/services/autofill.service.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/browser/src/autofill/services/autofill.service.ts b/apps/browser/src/autofill/services/autofill.service.ts index 8a4046f59c..090acf35dc 100644 --- a/apps/browser/src/autofill/services/autofill.service.ts +++ b/apps/browser/src/autofill/services/autofill.service.ts @@ -373,12 +373,6 @@ export default class AutofillService implements AutofillServiceInterface { fillScript.untrustedIframe = this.inUntrustedIframe(pageDetails.url, options); - if (!login.password || login.password === "") { - // No password for this login. Maybe they just wanted to auto-fill some custom fields? - fillScript = AutofillService.setFillScriptForFocus(filledFields, fillScript); - return fillScript; - } - let passwordFields = AutofillService.loadPasswordFields( pageDetails, false,