fix/session check fixed

This commit is contained in:
nicoagostini committed 2025-05-05 18:59:59 -07:00
1 parent fef7184404
commit f39b8555fa
2 files changed
+6 -4

No files matched your search

-4
View File
@@ -65,10 +65,6 @@ app.get('/aboutUs', (req, res) => {
return res.status(status.Ok);
});
app.get('/logout', (req, res) => {
req.session.destroy();
return res.redirect('/login');
});
// Initialize database and start app
initDatabase().then(() => {