Comparing version 0.0.3 to 0.0.4
@@ -17,3 +17,5 @@ // Load modules | ||
addToViewContext: true, // If response is a view, add crumb to context | ||
options: {} // Cookie options (i.e. hapi server.state) | ||
options: { // Cookie options (i.e. hapi server.state) | ||
path: '/' | ||
} | ||
}; | ||
@@ -94,2 +96,3 @@ | ||
request.response && | ||
request.response instanceof Boom === false && | ||
request.response.varieties.view) { | ||
@@ -96,0 +99,0 @@ |
{ | ||
"name": "crumb", | ||
"description": "CSRF crumb generation plugin", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "contributors": [], |
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
55377
144