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:47:25 -04:00
parent d8835503a8
commit c729f19add
+1 -1
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);