passport-token-google
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -73,8 +73,5 @@ /** | ||
if (!req.body) { | ||
return this.fail(); | ||
} | ||
var accessToken = req.body ? req.body.access_token || req.query.access_token || req.headers.access_token : req.headers.access_token || req.query.access_token; | ||
var refreshToken = req.body ? req.body.refresh_token || req.query.refresh_token || req.headers.refresh_token : req.headers.refresh_token || req.query.refresh_token; | ||
var accessToken = req.body.access_token || req.query.access_token || req.headers.access_token; | ||
var refreshToken = req.body.refresh_token || req.query.refresh_token || req.headers.refresh_token; | ||
@@ -81,0 +78,0 @@ self._loadUserProfile(accessToken, function(err, profile) { |
{ | ||
"name": "passport-token-google", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Google token authentication strategy for Passport.", | ||
@@ -5,0 +5,0 @@ "author": { |
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
7844
4
150