Skip to content
Snippets Groups Projects
Commit 70507a29 authored by Mads Freek Petersen's avatar Mads Freek Petersen
Browse files

Forgot to remove test code.


git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2588 44740490-163a-0410-bde0-09ae8108e29a
parent f26589ea
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ $auth = $casconfig->getValue('auth', 'saml2'); ...@@ -29,7 +29,7 @@ $auth = $casconfig->getValue('auth', 'saml2');
if (!in_array($auth, array('saml2', 'shib13'))) if (!in_array($auth, array('saml2', 'shib13')))
throw new Exception('CAS Service configured to use [auth] = ' . $auth . ' only [saml2,shib13] is legal.'); throw new Exception('CAS Service configured to use [auth] = ' . $auth . ' only [saml2,shib13] is legal.');
/*
if (!$session->isValid($auth)) { if (!$session->isValid($auth)) {
$url = SimpleSAML_Utilities::selfURL(); $url = SimpleSAML_Utilities::selfURL();
$hints = array( $hints = array(
...@@ -41,9 +41,6 @@ if (!$session->isValid($auth)) { ...@@ -41,9 +41,6 @@ if (!$session->isValid($auth)) {
} }
$attributes = $session->getAttributes(); $attributes = $session->getAttributes();
*/
$attributes = array('mail' => array('freek@ruc.dk'), 'anton' => array('banton'));
$path = $casconfig->resolvePath($casconfig->getValue('ticketcache', '/tmp')); $path = $casconfig->resolvePath($casconfig->getValue('ticketcache', '/tmp'));
...@@ -60,4 +57,4 @@ SimpleSAML_Utilities::redirect( ...@@ -60,4 +57,4 @@ SimpleSAML_Utilities::redirect(
) )
); );
?> ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment