Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix auth log

Smaug6739490d4463f76e
diff --git a/frontend/middleware/authentification.global.ts b/frontend/middleware/authentification.global.ts
index 34f78813..fda58267 100644
--- a/frontend/middleware/authentification.global.ts
+++ b/frontend/middleware/authentification.global.ts
@@ -1,8 +1,6 @@
export default defineNuxtRouteMiddleware((to, from) => {
if (!import.meta.client) return;
const user_auth = localStorage.getItem('isLoggedIn');
- console.log(user_auth);
-
if (to.fullPath.startsWith('/dashboard') && !user_auth) {
return navigateTo({
path: '/login',