Permalink
Browse files

pb with autologinguest

  • Loading branch information...
jgutierr25
jgutierr25 committed Sep 11, 2007
1 parent 3580ad8 commit 12b7c16ffce409d85c29868b97808c7115fddb91
Showing with 7 additions and 5 deletions.
  1. +7 −5 auth/cas/auth.php
View
@@ -102,11 +102,7 @@ function loginpage_hook() {
return;
}
if ($_GET["loginguest"]== true) {
$frm->username="guest";
$frm->password="guest";
return;
}
// Connection to CAS server
$this->connectCAS();
@@ -119,6 +115,12 @@ 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");

0 comments on commit 12b7c16

Please sign in to comment.