Comparing version 0.3.0-8 to 0.3.0-9
## 0.3.0 | ||
Primary motivation here is to begin work on a version of autohost that will work well with a hypermedia library ( [hyped](https://github.com/leankit-labs/hyped) ). This is a breaking change because of several structural and naming changes to how resources get modeled. | ||
### prerelease 9 | ||
Fix edge case causing passport middleware to re-authenticate users already in the session if the user object didn't have a `name` property. | ||
### prerelease 8 | ||
@@ -5,0 +8,0 @@ * Remove the _autohost API/UI |
{ | ||
"name": "autohost", | ||
"version": "0.3.0-8", | ||
"version": "0.3.0-9", | ||
"description": "Resource driven, transport agnostic host", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -38,3 +38,3 @@ var _ = require( 'lodash' ); | ||
// a user was attached from a session, skip authenticating | ||
if( req.skipAuth || ( req.user && req.user.name ) ) { | ||
if( req.skipAuth || req.user ) { | ||
next(); | ||
@@ -41,0 +41,0 @@ } else { |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
154923