Permalink
Browse files

fix(store): better check for loggedIn

  • Loading branch information...
pi0 committed Nov 16, 2017
1 parent 7362dc1 commit 37f22fe49d866bcaa28d73794467f2bbb8d36f46
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/templates/auth.store.js
@@ -13,7 +13,7 @@ export default {
getters: {
loggedIn (state) {
return Boolean(state.user<% if (options.token.enabled) { %> || state.token<% } %>)
return Boolean(state.user<% if (options.token.enabled) { %> && state.token<% } %>)
}
},

0 comments on commit 37f22fe

Please sign in to comment.