From b74efc1dbfb4d4fc4cca65026741b94a66884879 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Fri, 8 Oct 2021 15:43:54 +0200 Subject: [PATCH] Set the expiry for credential notification to 5 instead of 30 minutes --- src/background/runtime.background.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background/runtime.background.ts b/src/background/runtime.background.ts index f93c805b199..89a1674cbc3 100644 --- a/src/background/runtime.background.ts +++ b/src/background/runtime.background.ts @@ -393,7 +393,7 @@ export default class RuntimeBackground { domain: loginDomain, uri: loginInfo.url, tabId: tab.id, - expires: new Date((new Date()).getTime() + 30 * 60000), // 30 minutes + expires: new Date((new Date()).getTime() + 5 * 60000), // 5 minutes wasVaultLocked: isVaultLocked, }; this.main.notificationQueue.push(message); @@ -435,7 +435,7 @@ export default class RuntimeBackground { newPassword: newPassword, domain: loginDomain, tabId: tab.id, - expires: new Date((new Date()).getTime() + 30 * 60000), // 30 minutes + expires: new Date((new Date()).getTime() + 5 * 60000), // 5 minutes wasVaultLocked: isVaultLocked, }; this.main.notificationQueue.push(message);