wiki-security-passportjs 0.12.0 → 0.13.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wiki-security-passportjs",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Security plugin for Federated Wiki, using passport.js",
5
5
  "author": "Paul Rodwell <paul.rodwell@btinternet.com> (http://rodwell.me)",
6
6
  "license": "MIT",
@@ -418,7 +418,7 @@ module.exports = exports = (log, loga, argv) ->
418
418
  console.log "argv.allowed_ids exists, but there was an error. Make sure it's value is an array in your config."
419
419
  false
420
420
 
421
- app.all '*', (req, res, next) ->
421
+ app.all '*splat', (req, res, next) ->
422
422
  # don't protect site flag,
423
423
  return next() if req.url is '/favicon.png'
424
424
  return next() unless /\.(json|html)$/.test req.url