simplified console UI

This commit is contained in:
strawmanbobi
2016-12-10 12:19:07 +08:00
parent a0e34ae1d0
commit 16ad803fc2
6 changed files with 17 additions and 108 deletions

View File

@@ -80,6 +80,7 @@ function tokenValidation (req, res, next) {
// request of content type of multipart/form-data would be validated inside each service
next();
} else {
console.log("adminID = " + adminID + ", token = " + token);
certificateLogic.verifyTokenWorkUnit(adminID, token, function(validateTokenErr) {
if(errorCode.SUCCESS.code != validateTokenErr.code) {
var fakeResponse = {