π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix auth
Smaug6739a66f62f0f7df
diff --git a/frontend/stores/user.store.ts b/frontend/stores/user.store.tsindex 2bfe1b16..3f3952af 100644--- a/frontend/stores/user.store.ts+++ b/frontend/stores/user.store.ts@@ -11,7 +11,7 @@ export const useUserStore = defineStore('user', {async login(username: string, password: string) {try {const response = await makeRequest<{ auth: boolean }>('auth', 'POST', { username, password });- if (response.status == 'success' && response.result?.auth) {+ if (response.status == 'success') {if (import.meta.client) localStorage.setItem('isLoggedIn', 'true');return true;} else throw response.message;