Archived
1
0

Fix incorrect logout base (#3611)

Fixes #3608.
This commit is contained in:
Asher
2021-06-15 15:11:01 -05:00
committed by GitHub
parent 3241a4f521
commit b59b3936d0
2 changed files with 2 additions and 2 deletions

View File

@ -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",
})