From 1b74e3152a8bdc48477fe0a65b646a0e038cc2f5 Mon Sep 17 00:00:00 2001 From: techbot Date: Tue, 1 Oct 2024 23:20:23 +0200 Subject: [PATCH] fix 502 on logout --- src/server/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/auth.js b/src/server/auth.js index 01c04e1..32dcd03 100644 --- a/src/server/auth.js +++ b/src/server/auth.js @@ -92,7 +92,7 @@ module.exports = app => { res.redirect("/"); } }); - app.get("/auth/logout", req => { + app.get("/auth/logout", (req, res) => { req.logout( (err) => { if (err) {