[svn r21409] Fix sso_authent bug (only bug when enabling drupal-dokeos module)

skala
Yannick Warnier 16 years ago
parent 31244464a3
commit a9323448a5
  1. 2
      main/inc/local.inc.php

@ -359,7 +359,7 @@ if (!empty($_SESSION['_user']['user_id']) && ! ($login || $logout)) {
} //end if is_array($extAuthSource)
} //end else login failed
} elseif(api_get_setting('sso_authentication') && !in_array('webservices', explode('/', $_SERVER['REQUEST_URI']))) {
} elseif(api_get_setting('sso_authentication')==='true' && !in_array('webservices', explode('/', $_SERVER['REQUEST_URI']))) {
/**
* TODO:
* - Implement user interface for api_get_setting('sso_authentication')

Loading…
Cancel
Save