mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Padaccess: Display a reason for refusing access
This commit is contained in:
parent
31c45bc9b8
commit
70aa7b7543
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue