mirror of https://github.com/calzoneman/sync.git
Minor tweak
This commit is contained in:
parent
5082c84cc6
commit
f75b6b754d
|
@ -27,7 +27,7 @@ function checkAdmin(cb) {
|
|||
|
||||
if (user.global_rank < 255) {
|
||||
res.send(403);
|
||||
Logger.eventlog.log("[acp] Attempted GET /acp from non-admin " +
|
||||
Logger.eventlog.log("[acp] Attempted GET "+req.path+" from non-admin " +
|
||||
user.name + "@" + webserver.ipForRequest(req));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue