From 2b018c22713462519e99bf4b9ad65e102552dd84 Mon Sep 17 00:00:00 2001 From: Ivan Novakov Date: Tue, 28 May 2013 16:15:18 +0200 Subject: [PATCH] fixed shibboleth session detection --- plugin/authshibboleth/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/authshibboleth/auth.php b/plugin/authshibboleth/auth.php index ec5bfdc..ba4dc7a 100644 --- a/plugin/authshibboleth/auth.php +++ b/plugin/authshibboleth/auth.php @@ -21,7 +21,7 @@ class auth_plugin_authshibboleth extends DokuWiki_Auth_Plugin const CONF_VAR_DISPLAY_NAME = 'var_display_name'; const CONF_VAR_MAIL = 'var_mail'; - + const CONF_VAR_SHIB_SESSION_ID = 'var_shib_session_id'; const CONF_LOGOUT_HANDLER = 'logout_handler'; @@ -133,7 +133,7 @@ public function trustExternal() return; } - if ($this->getShibVar(self::CONF_VAR_SHIB_SESSION_ID)) { + if ($this->getShibVar($this->getConf(self::CONF_VAR_SHIB_SESSION_ID))) { $this->log('Trying to authenticate user...'); $userId = $this->getShibVar($this->getConf(self::CONF_VAR_REMOTE_USER));