mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +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();
|
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 a new issue