Remove remembered passphrase after 15 minutes of inactivity

https://github.com/the-djmaze/snappymail/issues/1142#issuecomment-1635839009
This commit is contained in:
the-djmaze 2024-03-18 14:36:33 +01:00
parent 9bc56a5abd
commit 190db75c19
5 changed files with 16 additions and 5 deletions

View file

@ -34,7 +34,7 @@ const
privateKey: privateKey.key,
passphrase
});
result && pass.remember && Passphrases.set(privateKey, passphrase);
result && pass.remember && Passphrases.handle(privateKey, passphrase);
return result;
}
},