Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Pb with autologinguest

  • Loading branch information...
commit c39e7213743909ccd87c80d719ae7b243424c66b 1 parent 6619eba
jgutierr25 authored
Showing with 8 additions and 6 deletions.
  1. +8 −6 auth/cas/auth.php
View
14 auth/cas/auth.php
@@ -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)) {
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.