This commit is contained in:
2020-04-25 23:17:25 +02:00
parent 86ec7f4de8
commit 9d1d1b3afb
5 changed files with 60 additions and 27 deletions
+9 -1
View File
@@ -4,4 +4,12 @@ export const mutations = {}
export const actions = {}
export const getters = {}
export const getters = {
isAuthenticated(state) {
return state.auth.loggedIn
},
loggedInUser(state) {
return state.auth.user
},
}