Permalink
Browse files

MDL-36138 auth_cas: Fix CAS Authentication Strict Standards warnings

  • Loading branch information...
1 parent a5ec499 commit 99f66eb13973e82e466e6ca5fd94f830e898f49a @leblangi leblangi committed Nov 1, 2012
Showing with 48 additions and 46 deletions.
  1. +46 −46 auth/cas/CAS/CAS.php
  2. +2 −0 auth/cas/auth.php
View
View
@@ -104,12 +104,14 @@ function loginpage_hook() {
$this->connectCAS();
if (phpCAS::checkAuthentication()) {
+ $frm = new stdClass();
$frm->username = phpCAS::getUser();
$frm->password = 'passwdCas';
return;
}
if (isset($_GET['loginguest']) && ($_GET['loginguest'] == true)) {
+ $frm = new stdClass();
$frm->username = 'guest';
$frm->password = 'guest';
return;

0 comments on commit 99f66eb

Please sign in to comment.