Pb with autologinguest

This commit is contained in:
jgutierr25 2007-09-11 07:54:55 +00:00
parent 6619eba40b
commit c39e721374

View File

@ -97,11 +97,7 @@ class auth_plugin_cas extends auth_plugin_base {
return;
}
if ($_GET["loginguest"]== true) {
$frm->username="guest";
$frm->password="guest";
return;
}
// Test si cas activ<69> et param<61>tres non remplis
if (empty($this->config->hostname)) {
@ -119,7 +115,13 @@ class auth_plugin_cas extends auth_plugin_base {
$frm->password="passwdCas";
return;
}
if ($_GET["loginguest"]== true) {
$frm->username="guest";
$frm->password="guest";
return;
}
if ($this->config->multiauth) {
$authCAS = optional_param("authCAS");
if ($authCAS=="NOCAS")