remove urlencoded

This commit is contained in:
root 2015-10-28 06:22:15 +00:00
parent e0dde70c14
commit 3dd2b30586
1 changed files with 3 additions and 0 deletions

View File

@ -61,9 +61,12 @@ function eagerLoad() {
, function () {
require('body-parser').json();
}
/*
// do not use urlencoded as it enables csrf
, function () {
require('body-parser').urlencoded();
}
*/
].forEach(function (fn) {
promise = promise.then(function (thing) {
return new PromiseA(function (resolve) {