node-oauth2-server
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -55,3 +55,4 @@ // Modules | ||
// Expose params | ||
req.user = { id: token.user_id }; | ||
req.oauth.token = token; | ||
req.user = token.user ? token.user : { id: token.user_id }; | ||
@@ -58,0 +59,0 @@ next(); // Exit point |
@@ -31,2 +31,2 @@ | ||
this.stack = (err && err.stack) || err; | ||
}; | ||
} |
{ | ||
"name": "node-oauth2-server", | ||
"description": "Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "oauth", |
55027
1164