Merge branch 'MDL-46753-26' of git://github.com/lameze/moodle into MOODLE_26_STABLE
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ class auth_plugin_cas extends auth_plugin_ldap {
|
||||
global $CFG, $USER, $DB;
|
||||
|
||||
if (!empty($this->config->logoutcas) && $USER->auth == $this->authtype) {
|
||||
$backurl = $CFG->wwwroot;
|
||||
$backurl = !empty($this->config->logout_return_url) ? $this->config->logout_return_url : $CFG->wwwroot;
|
||||
$this->connectCAS();
|
||||
// Note: Hack to stable versions to trigger the event before it redirect to CAS logout.
|
||||
$sid = session_id();
|
||||
|
||||
Reference in New Issue
Block a user