mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
change salts on password change + more robust handling of decryption failures
This commit is contained in:
@@ -327,7 +327,7 @@ class Note {
|
||||
|
||||
decrypt() {
|
||||
if (this.isProtected && !this.isDecrypted && protectedSessionService.isProtectedSessionAvailable()) {
|
||||
this.title = protectedSessionService.decryptString(note.title);
|
||||
this.title = protectedSessionService.decryptString(this.title);
|
||||
|
||||
this.isDecrypted = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user