From 2299a3376ce75f460e210fd0bcaf4771927efa2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 1 Dec 2015 19:04:26 +0100 Subject: [PATCH] trivial: fix comment about agent portal cookie duration --- data/themes/gadjo/static/js/publik.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/themes/gadjo/static/js/publik.js b/data/themes/gadjo/static/js/publik.js index 362ab9bc..620aa380 100644 --- a/data/themes/gadjo/static/js/publik.js +++ b/data/themes/gadjo/static/js/publik.js @@ -158,7 +158,7 @@ $(function() { * name. Live with it. */ var cookie_domain = window.location.hostname.split('.').slice(1).join('.'); var date = new Date(); - date.setTime(date.getTime() + (10 * 86400 * 1000)); /* a week */ + date.setTime(date.getTime() + (10 * 86400 * 1000)); /* a long week */ document.cookie = 'publik_portal_agent_url=' + encodeURIComponent(PUBLIK_PORTAL_AGENT_URL) + '; expires=' + date.toGMTString() +