Skip to content

Commit

Permalink
Merge tag 'v4.5.1'
Browse files Browse the repository at this point in the history
chore(release): 4.5.1
  • Loading branch information
pi0 committed Sep 18, 2018
2 parents d69ca4b + 2df6a64 commit 21e22ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="4.5.1"></a>
## [4.5.1](https://github.com/nuxt-community/auth-module/compare/v4.5.0...v4.5.1) (2018-05-21)


### Bug Fixes

* **module:** allow watchLoggedIn ([471d59f](https://github.com/nuxt-community/auth-module/commit/471d59f))



<a name="4.5.0"></a>
# [4.5.0](https://github.com/nuxt-community/auth-module/compare/v4.4.0...v4.5.0) (2018-05-21)

Expand Down
9 changes: 0 additions & 9 deletions lib/module/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`.')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxtjs/auth",
"version": "4.5.0",
"version": "4.5.1",
"description": "Authentication module for Nuxt.js",
"license": "MIT",
"contributors": [
Expand Down

0 comments on commit 21e22ca

Please sign in to comment.