fix/login+signup+logout session bugs

This commit is contained in:
SowinskiBraeden committed 2025-05-14 09:34:32 -07:00
1 parent ccae6a51ff
commit 3771288123
5 files changed
+94 -42

No files matched your search

-2
View File
@@ -83,7 +83,6 @@ app.get('/forgotPassword', (req, res) => {
return res.status(status.Ok);
});
// Reset with token given to user via email
app.get('/reset/:token', async (req, res) => {
const token = req.params.token;
@@ -106,7 +105,6 @@ app.get('/reset/:token', async (req, res) => {
});
});
// 404 handler - keep the actual notFound route please
// REALLY DONT DELETE THIS
app.get('/notFound', (req, res) => {