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
web: do not show email confirm notice for loggedout users
Abdullah Atta76eec5f8bb38
diff --git a/apps/web/src/common/notices.ts b/apps/web/src/common/notices.tsindex 12c006504..c4434deb7 100644--- a/apps/web/src/common/notices.ts+++ b/apps/web/src/common/notices.ts@@ -126,6 +126,7 @@ export async function shouldAddLoginNotice() {export async function shouldAddConfirmEmailNotice() {const user = await db.user.getUser();+ if (!user) return false;return !user?.isEmailConfirmed;}