@sport-activities/nuxt-oauth2
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -14,4 +14,7 @@ const path = require('path') | ||
}, | ||
session: moduleOptions.session, | ||
redis: { | ||
session: moduleOptions.session | ||
} | ||
if (moduleOptions.redis) { | ||
options.redis = { | ||
url: DEFAULT_REDIS_URL, | ||
@@ -18,0 +21,0 @@ ...moduleOptions.redis |
{ | ||
"name": "@sport-activities/nuxt-oauth2", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "OAuth2 authentication module", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "2cd6d8e393a5fb69c7a6d86bdfeb06c7ccaf3dd2" | ||
"gitHead": "011affc595b6bc0f416dd85764c8c31027edcd4c" | ||
} |
@@ -68,3 +68,4 @@ # Decathlon OAuth2 | ||
logErrors: true | ||
} | ||
}, | ||
debug: true, | ||
}], | ||
@@ -143,3 +144,7 @@ ... | ||
### Debug | ||
You can pass a `debug` flag in order to obtains debug logs. Default debug state match `NODE_ENV` value (`production` value set debug to `false`). | ||
## Vuex store | ||
@@ -146,0 +151,0 @@ |
@@ -122,3 +122,3 @@ const express = require('express') | ||
router.use(expressSession({ | ||
store: new RedisStore(redis), | ||
store: redis && new RedisStore(redis), | ||
...session | ||
@@ -125,0 +125,0 @@ })) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18490
353
185