nodebb-plugin-session-sharing 5.1.8 → 5.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/library.js +1 -1
  2. package/package.json +1 -1
package/library.js CHANGED
@@ -421,7 +421,7 @@ plugin.addMiddleware = async function ({ req, res }) {
421
421
  winston.verbose('[session-sharing] Processing login for uid ' + uid + ', path ' + req.originalUrl);
422
422
  req.uid = uid;
423
423
 
424
- if (plugin.settings.behaviour === 'revalidate') {
424
+ if (plugin.settings.behaviour === 'revalidate' || plugin.settings.behaviour === 'update') {
425
425
  res.locals.reroll = false; // disable session rerolling in core
426
426
  }
427
427
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-session-sharing",
3
- "version": "5.1.8",
3
+ "version": "5.1.9",
4
4
  "description": "Allows login sessions from your app to persist in NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {