Closed abrander closed 10 years ago
A small error in routes/auth.js results in tools.isAuthorized() always being called with the second argument undefined, which effectively will validate anyone regardless of the setting of validMatches in the config file.
This PR fixes that.
Nice catch, thanks. A relic from the old code of pre-1.0
Release 1.0.2 npm package updated
A small error in routes/auth.js results in tools.isAuthorized() always being called with the second argument undefined, which effectively will validate anyone regardless of the setting of validMatches in the config file.
This PR fixes that.