summaryrefslogtreecommitdiff
path: root/src/site.clj
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-04-23 18:10:24 -0400
committersostler <sbostler@gmail.com>2010-04-23 18:10:24 -0400
commitbf2fdf22cd7a87402195ee3bd799d476ceb0df1a (patch)
treedf662a607cde8b4ca07e73a8751ec102291d02c5 /src/site.clj
parent21922b749a5696a2ea4274e0968ad2d3d20dcc9d (diff)
Scope cookies to all subdomains
Diffstat (limited to 'src/site.clj')
-rw-r--r--src/site.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/site.clj b/src/site.clj
index 8342a09..3a8ecd3 100644
--- a/src/site.clj
+++ b/src/site.clj
@@ -303,8 +303,8 @@
(let [expiration (ms-in-future *login-token-expiry*)]
(set-cookie *login-token-key*
(encode-login-token nick hash expiration)
- :expires
- (gmt-string (new Date expiration)))))
+ :expires (gmt-string (new Date expiration))
+ :domain ".dump.fm")))
;; Landing