Set the expiry for credential notification to 5 instead of 30 minutes

This commit is contained in:
Daniel James Smith 2021-10-08 15:43:54 +02:00
parent 89344a7c36
commit b74efc1dbf
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
1 changed files with 2 additions and 2 deletions

View File

@ -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);