Originally reported by @pi0 馃巻
watchLoggedIn () {
this._loggedInWatcher =
this._loggedInWatcher ||
this.$store.watch(
state => state[this.options.namespace]['loggedIn'],
() => {
this.redirect('home')
}
)
return this._loggedInWatcher
}
State watcher ignores completely about the current page guarded state and will automatically redirect you to login page even if you current page is not guarded by authentication.
This bug report is available on Nuxt.js community (#c37)
Originally reported by @pi0 馃巻
State watcher ignores completely about the current page guarded state and will automatically redirect you to login page even if you current page is not guarded by authentication.