current URL as CAS server callback - refs BT#16484

pull/3101/head
Sébastien Ducoulombier 6 years ago
parent c231b66911
commit c17e163d07
  1. 6
      main/auth/cas/cas_var.inc.php

@ -66,7 +66,11 @@ if (api_is_cas_activated()) {
if (is_string($fixedServiceURL)) { if (is_string($fixedServiceURL)) {
phpCAS::setFixedServiceURL($fixedServiceURL); phpCAS::setFixedServiceURL($fixedServiceURL);
} elseif (is_bool($fixedServiceURL) && $fixedServiceURL) { } elseif (is_bool($fixedServiceURL) && $fixedServiceURL) {
phpCAS::setFixedServiceURL(api_get_configuration_value('root_web')); phpCAS::setFixedServiceURL(
api_get_configuration_value('root_web')
.
explode('?', $_SERVER['REQUEST_URI'], 2)[0]
);
} }
} }
} }

Loading…
Cancel
Save