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

Lowercased YES and NO according to: http://www.jasig.org/cas/protocol

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2590 44740490-163a-0410-bde0-09ae8108e29a
parent 37798181
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ function returnResponse($value, $function, $usrname = '', $attributes = array(), ...@@ -83,7 +83,7 @@ function returnResponse($value, $function, $usrname = '', $attributes = array(),
'</cas:authenticationSuccess> '</cas:authenticationSuccess>
</cas:serviceResponse>'; </cas:serviceResponse>';
} else { } else {
echo 'YES' . "\n" . $usrname; echo 'yes' . "\n" . $usrname;
} }
} else { } else {
if ($function == 'serviceValidate') { if ($function == 'serviceValidate') {
...@@ -92,7 +92,7 @@ function returnResponse($value, $function, $usrname = '', $attributes = array(), ...@@ -92,7 +92,7 @@ function returnResponse($value, $function, $usrname = '', $attributes = array(),
</cas:authenticationFailure> </cas:authenticationFailure>
</cas:serviceResponse>'; </cas:serviceResponse>';
} else { } else {
echo 'NO'; echo 'no';
} }
} }
......
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