mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 09:17:30 -05:00
Further cleaning and improvements
This commit is contained in:
@@ -134,7 +134,6 @@ function isAdmin(req, res, next) {
|
||||
}
|
||||
|
||||
function isLoggedIn(req, res, next) {
|
||||
console.log(req)
|
||||
if (req.isAuthenticated()) return next();
|
||||
res.status(401).send({
|
||||
success: false,
|
||||
|
||||
Reference in New Issue
Block a user