revert authentication skip
This commit is contained in:
@@ -164,7 +164,6 @@ app.put("/API/user/create", function (req, res) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.all("*", function (req, res, next) {
|
app.all("*", function (req, res, next) {
|
||||||
return next();
|
|
||||||
if (req.isAuthenticated()) {
|
if (req.isAuthenticated()) {
|
||||||
return next();
|
return next();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user