From 70aa7b7543e8331a6a431e0fca604d65f59b9e17 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Mon, 31 Mar 2014 21:54:05 +0200 Subject: [PATCH] Padaccess: Display a reason for refusing access --- src/node/padaccess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/padaccess.js b/src/node/padaccess.js index d87809149..33c04bc68 100644 --- a/src/node/padaccess.js +++ b/src/node/padaccess.js @@ -15,7 +15,7 @@ module.exports = function (req, res, callback) { callback(); //no access } else { - res.send(403, "403 - Can't touch this"); + res.send(403, "403 - Can't touch this: "+accessObj.accessStatus); } }); }