Skip to content
Permalink
Browse files
fix(module): allow watchLoggedIn
  • Loading branch information
Pooya Parsa committed May 21, 2018
1 parent 9ead681 commit 471d59fa0c0f594bb4870c60f2e9a8253709b22a
Showing 1 changed file with 0 additions and 9 deletions.
@@ -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`.')

1 comment on commit 471d59f

@begueradj
Copy link

@begueradj begueradj commented on 471d59f Apr 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a bug with this module as reported by several users: loggedIn flag is always set to true, which things makes this plugin obsolete.

Please sign in to comment.