[PM-595] Autofill doesn't work for logins without passwords (#5325)

This commit is contained in:
Cesar Gonzalez 2023-05-16 18:00:09 -05:00 committed by GitHub
parent 0d9345db8f
commit aa2da57139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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,