Authored by weiqingting

quanxian

@@ -90,7 +90,7 @@ module.exports = function(req, res, next) { @@ -90,7 +90,7 @@ module.exports = function(req, res, next) {
90 if(path&&req.session.user.allRight[path]){ 90 if(path&&req.session.user.allRight[path]){
91 author.validateAuthor(req.session.user.auth.pid,req.session.user.auth.role_id,path,function(data){ 91 author.validateAuthor(req.session.user.auth.pid,req.session.user.auth.role_id,path,function(data){
92 if(data.code!=200){ 92 if(data.code!=200){
93 - res.status(403); 93 + // res.status(403);
94 if(!req.xhr){ 94 if(!req.xhr){
95 res.render('error/error_nolayout',{message:NO_AUTH,layout:false,cssfile:CSS_FILE}); 95 res.render('error/error_nolayout',{message:NO_AUTH,layout:false,cssfile:CSS_FILE});
96 }else{ 96 }else{