invalidate flat text cache after login to protected session, fixes #2712

This commit is contained in:
zadam
2022-03-20 22:23:48 +01:00
parent ea56bb772a
commit 316a2aee1a
3 changed files with 25 additions and 24 deletions

View File

@@ -1127,6 +1127,7 @@ class Note extends AbstractEntity {
if (this.isProtected && !this.isDecrypted && protectedSessionService.isProtectedSessionAvailable()) {
try {
this.title = protectedSessionService.decryptString(this.title);
this.flatTextCache = null;
this.isDecrypted = true;
}