From 238fdcdb05dc7c750f7e54af64ea91ceecb449fb Mon Sep 17 00:00:00 2001 From: Mirko Van Colen Date: Sat, 8 Jun 2024 14:14:09 +0200 Subject: [PATCH] extra fallback to local --- client/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/App.vue b/client/src/App.vue index 79218919..e0d5fe92 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -209,7 +209,7 @@ } }, logout() { - var userType=this.profile.type + var userType=this.profile?.type || "local" TokenStorage.clear() this.formConfig=undefined this.refreshAuthenticated()