Skip to content

Commit

Permalink
get Debug working
Browse files Browse the repository at this point in the history
  • Loading branch information
Roussel Xavier committed Feb 17, 2015
1 parent ddfacb3 commit 234d398
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/Xavrsl/Cas/Sso.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private function configureDebug()
{
if($debug = $this->config['cas_debug'])
{
$path = (gettype($debug) == 'string') ? $debug : false;
$path = (gettype($debug) == 'string') ? $debug : '';
phpCAS::setDebug($path);
}
}
Expand Down Expand Up @@ -164,6 +164,16 @@ public function user()
return phpCAS::getUser();
}

/**
* getAttributes' simple wrapper
*
* @return array|null
*/
public function getAttributes()
{
return phpCAS::getAttributes();
}

/**
* This method is used to logout from CAS
*
Expand Down

0 comments on commit 234d398

Please sign in to comment.