Skip to content

Commit 811557f

Browse files
committed
Fix incorrect logout base
Fixes coder#3608.
1 parent 4bb7a8d commit 811557f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ VS Code v0.00.0
4343

4444
### Bug Fixes
4545

46-
- item
46+
- Fix logout when using a base path (#3608)
4747

4848
### Documentation
4949

src/node/routes/logout.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ router.get("/", async (req, res) => {
88
// Must use the *identical* properties used to set the cookie.
99
res.clearCookie(Cookie.Key, {
1010
domain: getCookieDomain(req.headers.host || "", req.args["proxy-domain"]),
11-
path: req.body.base || "/",
11+
path: req.query.base || "/",
1212
sameSite: "lax",
1313
})
1414

0 commit comments

Comments
 (0)