mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Set the expiry for credential notification to 5 instead of 30 minutes
This commit is contained in:
@@ -393,7 +393,7 @@ export default class RuntimeBackground {
|
|||||||
domain: loginDomain,
|
domain: loginDomain,
|
||||||
uri: loginInfo.url,
|
uri: loginInfo.url,
|
||||||
tabId: tab.id,
|
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,
|
wasVaultLocked: isVaultLocked,
|
||||||
};
|
};
|
||||||
this.main.notificationQueue.push(message);
|
this.main.notificationQueue.push(message);
|
||||||
@@ -435,7 +435,7 @@ export default class RuntimeBackground {
|
|||||||
newPassword: newPassword,
|
newPassword: newPassword,
|
||||||
domain: loginDomain,
|
domain: loginDomain,
|
||||||
tabId: tab.id,
|
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,
|
wasVaultLocked: isVaultLocked,
|
||||||
};
|
};
|
||||||
this.main.notificationQueue.push(message);
|
this.main.notificationQueue.push(message);
|
||||||
|
|||||||
Reference in New Issue
Block a user