summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_sso/ldap_sso.module
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_sso/ldap_sso.module')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_sso/ldap_sso.module5
1 files changed, 3 insertions, 2 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_sso/ldap_sso.module b/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_sso/ldap_sso.module
index 784daa9..73ca5ff 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_sso/ldap_sso.module
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/ldap/ldap_sso/ldap_sso.module
@@ -32,8 +32,9 @@ function ldap_sso_menu() {
function ldap_sso_user_logout($account) {
$auth_conf = ldap_authentication_get_valid_conf();
if ($auth_conf->seamlessLogin == 1) {
- setcookie("seamless_login", 'do not auto login', time() + (int)$auth_conf->cookieExpire, base_path(), "");
- $_SESSION['seamless_login'] = $_COOKIE['seamless_login'];
+ $cookie_string = 'do not auto login';
+ setcookie("seamless_login", $cookie_string, time() + (int)$auth_conf->cookieExpire, base_path(), "");
+ $_SESSION['seamless_login'] = $cookie_string;
}
}