diff --git a/apps/browser/src/autofill/content/components/notification/confirmation/container.ts b/apps/browser/src/autofill/content/components/notification/confirmation/container.ts index a077ec0bbef..ca1c26eeaa6 100644 --- a/apps/browser/src/autofill/content/components/notification/confirmation/container.ts +++ b/apps/browser/src/autofill/content/components/notification/confirmation/container.ts @@ -134,8 +134,6 @@ function getHeaderMessage(i18n: I18n, type?: NotificationType, error?: string) { return i18n.loginSaveSuccess; case NotificationTypes.Change: return i18n.loginUpdateSuccess; - case NotificationTypes.AtRiskPassword: - return i18n.changePassword; case NotificationTypes.Unlock: return ""; default: diff --git a/apps/browser/src/autofill/content/components/notification/container.ts b/apps/browser/src/autofill/content/components/notification/container.ts index 01676af7876..c7c7ae16cde 100644 --- a/apps/browser/src/autofill/content/components/notification/container.ts +++ b/apps/browser/src/autofill/content/components/notification/container.ts @@ -107,8 +107,6 @@ function getHeaderMessage(i18n: I18n, type?: NotificationType) { return i18n.updateLogin; case NotificationTypes.Unlock: return ""; - case NotificationTypes.AtRiskPassword: - return i18n.atRiskPassword; default: return undefined; } diff --git a/apps/browser/src/autofill/content/components/notification/footer.ts b/apps/browser/src/autofill/content/components/notification/footer.ts index f450e0ba1b5..960290e5943 100644 --- a/apps/browser/src/autofill/content/components/notification/footer.ts +++ b/apps/browser/src/autofill/content/components/notification/footer.ts @@ -7,8 +7,6 @@ import { NotificationType, NotificationTypes, } from "../../../notification/abstractions/notification-bar"; -import { ActionButton } from "../buttons/action-button"; -import { AdditionalTasksButtonContent } from "../buttons/additional-tasks/button-content"; import { OrgView, FolderView, I18n, CollectionView } from "../common-types"; import { spacing, themes } from "../constants/styles"; @@ -34,26 +32,11 @@ export function NotificationFooter({ organizations, personalVaultIsAllowed, theme, - passwordChangeUri, handleSaveAction, }: NotificationFooterProps) { const isChangeNotification = notificationType === NotificationTypes.Change; const primaryButtonText = i18n.saveAction; - if (notificationType === NotificationTypes.AtRiskPassword) { - return html`
- ${passwordChangeUri && - ActionButton({ - handleClick: () => { - open("https://" + passwordChangeUri, "_blank"); - }, - buttonText: AdditionalTasksButtonContent({ buttonText: i18n.changePassword, theme }), - theme, - fullWidth: false, - })} -
`; - } - return html`
${!isChangeNotification