未验证 提交 b59b3936 编写于 作者: A Asher 提交者: GitHub

Fix incorrect logout base (#3611)

Fixes #3608.
上级 3241a4f5
......@@ -43,7 +43,7 @@ VS Code v0.00.0
### Bug Fixes
- item
- Fix logout when using a base path (#3608)
### Documentation
......
......@@ -8,7 +8,7 @@ router.get("/", async (req, res) => {
// Must use the *identical* properties used to set the cookie.
res.clearCookie(Cookie.Key, {
domain: getCookieDomain(req.headers.host || "", req.args["proxy-domain"]),
path: req.body.base || "/",
path: req.query.base || "/",
sameSite: "lax",
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册