Skip to content

Commit 1b74e31

Browse files
committed
fix 502 on logout
1 parent 52c8640 commit 1b74e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = app => {
9292
res.redirect("/");
9393
}
9494
});
95-
app.get("/auth/logout", req => {
95+
app.get("/auth/logout", (req, res) => {
9696
req.logout(
9797
(err) => {
9898
if (err) {

0 commit comments

Comments
 (0)