summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-08-15 20:12:25 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-08-15 20:12:25 +0200
commit8d2963a4bf916d047cb0aebd825588a5e20b838f (patch)
tree6c582156f0f249a727c5edef0ad506df1636ac98 /program/lib/Roundcube
parentc380ac4e03fcd7439cee3829688152796a871636 (diff)
Make session auth cookie name configurable
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r--program/lib/Roundcube/rcube.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php
index e0f889a87..fbf9540ad 100644
--- a/program/lib/Roundcube/rcube.php
+++ b/program/lib/Roundcube/rcube.php
@@ -467,6 +467,10 @@ class rcube
$this->session->set_secret($this->config->get('des_key') . dirname($_SERVER['SCRIPT_NAME']));
$this->session->set_ip_check($this->config->get('ip_check'));
+ if ($this->config->get('session_auth_name')) {
+ $this->session->set_cookiename($this->config->get('session_auth_name'));
+ }
+
// start PHP session (if not in CLI mode)
if ($_SERVER['REMOTE_ADDR']) {
$this->session->start();