diff --git a/apps/browser/src/autofill/services/autofill.service.ts b/apps/browser/src/autofill/services/autofill.service.ts index 571b4af721..4edb1ce7a3 100644 --- a/apps/browser/src/autofill/services/autofill.service.ts +++ b/apps/browser/src/autofill/services/autofill.service.ts @@ -280,6 +280,10 @@ export default class AutofillService implements AutofillServiceInterface { * @returns The TOTP code of the successfully autofilled login, if any */ async doAutoFillActiveTab(pageDetails: PageDetail[], fromCommand: boolean): Promise { + if (!pageDetails[0]?.details?.fields?.length) { + return; + } + const tab = await this.getActiveTab(); if (!tab || !tab.url) { return;