This commit is contained in:
x
2025-03-16 03:04:21 +01:00
parent a905b8817e
commit 76f1a3ddbb
7 changed files with 29 additions and 23 deletions

View File

@@ -221,14 +221,14 @@ export default new class {
return next();
};
async loggedin(req, res, next) {
if(!req.session) {
return res.reply({
code: 401,
body: "401 - Unauthorized"
});
}
return next();
};
// async loggedin(req, res, next) {
// if(!req.session) {
// return res.reply({
// code: 401,
// body: "401 - Unauthorized"
// });
// }
// return next();
// };
};