Permalink
Browse files

fix(module): allow watchLoggedIn

  • Loading branch information...
pi0 committed May 21, 2018
1 parent 9ead681 commit 471d59fa0c0f594bb4870c60f2e9a8253709b22a
Showing with 0 additions and 9 deletions.
  1. +0 −9 lib/module/index.js
@@ -44,15 +44,6 @@ function validateOptions (options) {
delete options.endpoints
}
if (options.watchLoggedIn) {
// eslint-disable-next-line no-console
logger.error('`watchLoggedIn` has been deprecated. Use `redirect.logout` instead.')
if (options.watchLoggedIn === false) {
options.redirect.logout = false
}
delete options.watchLoggedIn
}
// Enforce vuex store because auth depends on it
if (!this.options.store) {
logger.fatal('Enable vuex store by creating `store/index.js`.')

0 comments on commit 471d59f

Please sign in to comment.