MDL-41626 cas auth: Setting the right url for the multi-authentication page

This commit is contained in:
Jean-Philippe Gaudreau 2013-09-05 16:45:59 -04:00
parent b69ec2889e
commit 7eb3c3cb6a

View File

@ -137,7 +137,7 @@ class auth_plugin_cas extends auth_plugin_ldap {
// test pgtIou parameter for proxy mode (https connection
// in background from CAS server to the php server)
if ($authCAS != 'CAS' && !isset($_GET['pgtIou'])) {
$PAGE->set_url('/auth/cas/auth.php');
$PAGE->set_url('/login/index.php');
$PAGE->navbar->add($CASform);
$PAGE->set_title("$site->fullname: $CASform");
$PAGE->set_heading($site->fullname);