Permalink
Browse files

test if cas activated and non parameters

  • Loading branch information...
jgutierr25
jgutierr25 committed Jul 17, 2007
1 parent 85b70ad commit 28b9086750068f8b3a2a3439e696d58359b80cbc
Showing with 6 additions and 1 deletion.
  1. +6 −1 auth/cas/auth.php
View
@@ -92,6 +92,11 @@ function loginpage_hook() {
if (!empty($username)) {
return;
}
// Test si cas activé et paramêtres non remplis
if (empty($this->config->hostname)) {
return;
}
// Connection to CAS server
$this->connectCAS();
@@ -103,7 +108,7 @@ function loginpage_hook() {
$frm->username='erhar0062';
$frm->password="passwdCas";
return;
}
}
if ($this->config->multiauth) {
$authCAS = optional_param("authCAS");

0 comments on commit 28b9086

Please sign in to comment.