From 23db617467cc4bbd7146989dd6e7de4980f53e88 Mon Sep 17 00:00:00 2001 From: Miles Blackwood Date: Tue, 29 Apr 2025 14:22:07 -0400 Subject: [PATCH] Update documentation and make function public. --- apps/browser/src/autofill/background/notification.background.ts | 2 +- .../src/autofill/background/overlay-notifications.background.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/browser/src/autofill/background/notification.background.ts b/apps/browser/src/autofill/background/notification.background.ts index 11d682e2f20..0186a38e449 100644 --- a/apps/browser/src/autofill/background/notification.background.ts +++ b/apps/browser/src/autofill/background/notification.background.ts @@ -903,7 +903,7 @@ export default class NotificationBackground { return null; } - private async getSecurityTasks(userId: UserId) { + async getSecurityTasks(userId: UserId) { let tasks: SecurityTask[] = []; if (userId) { diff --git a/apps/browser/src/autofill/background/overlay-notifications.background.ts b/apps/browser/src/autofill/background/overlay-notifications.background.ts index fd30bca676e..2bd6f9b7d53 100644 --- a/apps/browser/src/autofill/background/overlay-notifications.background.ts +++ b/apps/browser/src/autofill/background/overlay-notifications.background.ts @@ -491,7 +491,7 @@ export class OverlayNotificationsBackground implements OverlayNotificationsBackg }; /** - * Determines if the at-risk password notification should be triggered. + * If there is a security task for this cipher at login, return the task, cipher view, and uri. * * @param modifyLoginData - The modified login form data * @param activeUserId - The currently logged in user ID