trivial: fix comment about agent portal cookie duration

This commit is contained in:
Frédéric Péters 2015-12-01 19:04:26 +01:00
parent b7ac62ee28
commit 2299a3376c
1 changed files with 1 additions and 1 deletions

View File

@ -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() +