Add audit log entries on API calls

Closes #627
This commit is contained in:
Nick O'Leary
2015-05-14 14:22:28 +01:00
parent 911288e695
commit 7de0216976
8 changed files with 97 additions and 15 deletions

View File

@@ -67,7 +67,7 @@ function init(adminApp,storage) {
auth.getToken,
auth.errorHandler
);
adminApp.post("/auth/revoke",auth.revoke);
adminApp.post("/auth/revoke",needsPermission(""),auth.revoke);
}
// Flows