Skip to content

Commit

Permalink
Pb with autologinguest
Browse files Browse the repository at this point in the history
  • Loading branch information
jgutierr25 committed Sep 11, 2007
1 parent 6619eba commit c39e721
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions auth/cas/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ function loginpage_hook() {
return;
}

if ($_GET["loginguest"]== true) {
$frm->username="guest";
$frm->password="guest";
return;
}


// Test si cas activ� et param�tres non remplis
if (empty($this->config->hostname)) {
Expand All @@ -119,7 +115,13 @@ function loginpage_hook() {
$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")
Expand Down

0 comments on commit c39e721

Please sign in to comment.