From 7aeca892d8943755014c7d42654fd33adc1bd93c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Sun, 25 Feb 2018 19:13:48 +0100 Subject: [PATCH] Fix cookie domain --- src/routes/uonetplus-opiekun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/uonetplus-opiekun.js b/src/routes/uonetplus-opiekun.js index 4e133a7..13a96ab 100644 --- a/src/routes/uonetplus-opiekun.js +++ b/src/routes/uonetplus-opiekun.js @@ -17,7 +17,7 @@ router.get("/Default/123456/", (req, res) => { router.get("/Default/123456/Start/Index/", (req, res) => { res.cookie("EfebSsoAuthCookie", "asdfasdfasdfasdfasdfasdfas", { - domain: req.get('host').replace("uonetplus-opiekun", "uonetplus"), + domain: req.get('host').replace("uonetplus-opiekun", ""), path: '/', httpOnly: true });