summaryrefslogtreecommitdiff
path: root/program/include/rcube.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-04-30 21:04:53 +0000
committerthomascube <thomas@roundcube.net>2012-04-30 21:04:53 +0000
commit58154f59fc16322598e3a01937fbffdb97cdf62b (patch)
tree83ca652a98fc34dfad5e743214d90f5005e3f3bf /program/include/rcube.php
parentf81e06065f38a2040e41cc3b066575939c8c6747 (diff)
Accept two past time slots for auth cookie validation; don't encode user-agent into session auth hash (#1488449)
Diffstat (limited to 'program/include/rcube.php')
-rw-r--r--program/include/rcube.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube.php b/program/include/rcube.php
index 55dc4ee77..8bd9b76be 100644
--- a/program/include/rcube.php
+++ b/program/include/rcube.php
@@ -476,7 +476,7 @@ class rcube
$this->session->set_keep_alive($keep_alive);
}
- $this->session->set_secret($this->config->get('des_key') . $_SERVER['HTTP_USER_AGENT']);
+ $this->session->set_secret($this->config->get('des_key') . dirname($_SERVER['SCRIPT_NAME']));
$this->session->set_ip_check($this->config->get('ip_check'));
}