Skip to content

Commit

Permalink
fixed shibboleth session detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Novakov committed May 28, 2013
1 parent 14e2e70 commit 2b018c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/authshibboleth/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 2b018c2

Please sign in to comment.