diff --git a/apps/browser/src/autofill/background/notification.background.ts b/apps/browser/src/autofill/background/notification.background.ts index 92c3fec7d94..6c8a768a0d8 100644 --- a/apps/browser/src/autofill/background/notification.background.ts +++ b/apps/browser/src/autofill/background/notification.background.ts @@ -724,7 +724,7 @@ export default class NotificationBackground { const ciphersByInputMatchCategory = ciphersForURL.reduce( (acc, { id, login }) => { const usernameInputMatchesCipher = - usernameFieldHasValue && login.username.toLowerCase() === normalizedUsername; + usernameFieldHasValue && login.username?.toLowerCase() === normalizedUsername; const passwordInputMatchesCipher = currentPasswordFieldHasValue && login.password === currentPasswordFieldValue; const newPasswordInputMatchesCipher =