Use auth store

This commit is contained in:
2020-06-09 16:39:40 +02:00
parent 48bfbe80fe
commit e22f774385
2 changed files with 15 additions and 22 deletions
+1 -9
View File
@@ -4,12 +4,4 @@ export const mutations = {}
export const actions = {}
export const getters = {
isAuthenticated(state) {
return state.auth.loggedIn
},
loggedInUser(state) {
return state.auth.user
},
}
export const getters = {}