andbang-express-auth
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -112,3 +112,3 @@ var _ = require('underscore'), | ||
return self.userRequired(req, response, function () { | ||
self.onRefreshToken(req.session.user, req.session.token.refresh_token, function () { | ||
self.onRefreshToken(req.session.user, req.token.refresh_token, function () { | ||
response.redirect(nextUrl); | ||
@@ -115,0 +115,0 @@ }); |
{ | ||
"name": "andbang-express-auth", | ||
"description": "Dead simple And Bang auth middleware.", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "express": "3.x", |
@@ -5,3 +5,3 @@ # And Bang auth middleware for Express.js | ||
1. Sign up for an And Bang account at https://next.andbang.com | ||
1. Sign up for an And Bang account at https://andbang.com | ||
2. Register your application at https://accounts.andbang.com/developer | ||
@@ -8,0 +8,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10226
5
1