Skip to content

Commit 471d59f

Browse files
author
Pooya Parsa
committed
fix(module): allow watchLoggedIn
1 parent 9ead681 commit 471d59f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/module/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ function validateOptions (options) {
4444
delete options.endpoints
4545
}
4646

47-
if (options.watchLoggedIn) {
48-
// eslint-disable-next-line no-console
49-
logger.error('`watchLoggedIn` has been deprecated. Use `redirect.logout` instead.')
50-
if (options.watchLoggedIn === false) {
51-
options.redirect.logout = false
52-
}
53-
delete options.watchLoggedIn
54-
}
55-
5647
// Enforce vuex store because auth depends on it
5748
if (!this.options.store) {
5849
logger.fatal('Enable vuex store by creating `store/index.js`.')

0 commit comments

Comments
 (0)