Padaccess: Display a reason for refusing access
parent
31c45bc9b8
commit
70aa7b7543
|
@ -15,7 +15,7 @@ module.exports = function (req, res, callback) {
|
||||||
callback();
|
callback();
|
||||||
//no access
|
//no access
|
||||||
} else {
|
} else {
|
||||||
res.send(403, "403 - Can't touch this");
|
res.send(403, "403 - Can't touch this: "+accessObj.accessStatus);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue