fixed init user check fi loggedin

This commit is contained in:
Bachir Soussi Chiadmi 2022-10-19 11:32:22 +02:00
parent 20b56f27f1
commit 3e791910cc

View File

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