passport-oauth-wrap
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -23,3 +23,3 @@ /*jslint plusplus: true, devel: true, nomen: true, vars: true, node: true, indent: 4, maxerr: 50 */ | ||
}; | ||
if ((opts.useClientState || true)) { | ||
if (opts.useClientState !== false) { | ||
query.wrap_client_state = crypto.randomBytes(16).toString("hex"); | ||
@@ -26,0 +26,0 @@ req.session.wrapClientState = query.wrap_client_state; |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"main": "./lib", | ||
@@ -16,0 +16,0 @@ "dependencies": { |
16386