Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: clear all sessions after password change

thecodrrb07b6abebda5
diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.js
index 1298f172b..c8f5a8466 100644
--- a/apps/web/src/views/settings.js
+++ b/apps/web/src/views/settings.js
@@ -235,6 +235,7 @@ function Settings(props) {
);
if (result) {
await showToast("success", "Account password changed!");
+ await db.user.clearSessions();
}
}}
>