From fd328d443d8517da21b0a199b8675e2dd0f8e00a Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 27 Feb 2014 20:51:48 -0600 Subject: [PATCH] Minor fix --- lib/web/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web/auth.js b/lib/web/auth.js index 5e5b3256..3d5ed208 100644 --- a/lib/web/auth.js +++ b/lib/web/auth.js @@ -43,7 +43,7 @@ function handleLogin(req, res) { } else { var auth = user.name + ":" + user.hash; res.cookie("auth", auth, { - domain: Config.get("http.root-domain"), + domain: "." + Config.get("http.root-domain"), expires: new Date(Date.now() + 7*24*60*60*1000), httpOnly: true });