mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Removed the shibboleth code (there is a new way now)
http://moodle.org/mod/forum/discuss.php?d=39918#187611
This commit is contained in:
parent
b67580acfa
commit
16bac723c0
1 changed files with 8 additions and 7 deletions
|
@ -39,13 +39,14 @@
|
||||||
require($CFG->dirroot.'/auth/cas/login.php');
|
require($CFG->dirroot.'/auth/cas/login.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($CFG->auth == 'shibboleth') {
|
// See http://moodle.org/mod/forum/discuss.php?d=39918#187611
|
||||||
if (!empty($SESSION->shibboleth_checked) ) { // Just come from there
|
// if ($CFG->auth == 'shibboleth') {
|
||||||
unset($SESSION->shibboleth_checked);
|
// if (!empty($SESSION->shibboleth_checked) ) { // Just come from there
|
||||||
} else if (empty($_POST)) { // No incoming data, so redirect
|
// unset($SESSION->shibboleth_checked);
|
||||||
redirect($CFG->wwwroot.'/auth/shibboleth/index.php');
|
// } else if (empty($_POST)) { // No incoming data, so redirect
|
||||||
}
|
// redirect($CFG->wwwroot.'/auth/shibboleth/index.php');
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue