A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: do not open verify account dialog if user isn't logged in
thecodrr4c12c019ff23
diff --git a/apps/web/src/common/index.js b/apps/web/src/common/index.jsindex 59a4e2251..f7c28b66a 100644--- a/apps/web/src/common/index.js+++ b/apps/web/src/common/index.js@@ -129,7 +129,8 @@ export function getTotalNotes(notebook) {}, 0);}-export function verifyAccount() {+export async function verifyAccount() {+ if (!(await db.user.getUser())) return true;return showPasswordDialog("verify_account", ({ password }) => {return db.user.verifyPassword(password);});