Explorar o código

fixed init user check fi loggedin

bach %!s(int64=2) %!d(string=hai) anos
pai
achega
3e791910cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/stores/user.js

+ 1 - 1
src/stores/user.js

@@ -29,7 +29,7 @@ export const UserStore = defineStore({
             this.uid = data.attributes.drupal_internal__uid
             this.mail = data.attributes.mail
             this.name = data.attributes.name
-            this.isloggedin = data.attributes.status
+            this.isloggedin = true //data.attributes.status
             console.log('user store checkuser isloggedin', this.isloggedin);
           })
         }