Skip to content

Commit

Permalink
fix 502 on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 committed Oct 1, 2024
1 parent 52c8640 commit 1b74e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1b74e31

Please sign in to comment.