forked from GitHub/dbot
fix web routes
This commit is contained in:
parent
a3d18884aa
commit
e757ee34df
@ -176,9 +176,10 @@ var webInterface = function(dbot) {
|
||||
return next();
|
||||
}
|
||||
} else {
|
||||
console.log(req);
|
||||
res.render('login', {
|
||||
'message': 'You need to log in to access this module.',
|
||||
'redirect': module
|
||||
'redirect': req.originalUrl
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user