From f15c3acde1b9315d98ac2360e6b996f3f6f2b63d Mon Sep 17 00:00:00 2001 From: Aurthur Musendame Date: Sun, 13 Aug 2023 10:22:54 +0200 Subject: [PATCH] added auth persistence --- webapp/stores/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/stores/auth.ts b/webapp/stores/auth.ts index f3d4c6c9..f64d5e92 100644 --- a/webapp/stores/auth.ts +++ b/webapp/stores/auth.ts @@ -102,6 +102,7 @@ export const useAuthStore = defineStore('auth', () => { auth.value.authenticating = false; return }; + persistAuth(res); }) .catch(err => (auth.value.authenticating = false)); };