Skip to content
Snippets Groups Projects
Commit 85958016 authored by Olav Morken's avatar Olav Morken
Browse files

SAML2: Remove debug code for jpegPhoto.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1458 44740490-163a-0410-bde0-09ae8108e29a
parent 14f6f9ef
No related branches found
No related tags found
No related merge requests found
......@@ -416,18 +416,11 @@ class SimpleSAML_XML_SAML20_AuthnResponse extends SimpleSAML_XML_AuthnResponse {
}
if ($base64) {
if ($name != 'jpegPhoto') {
foreach(explode('_', $value) AS $v) {
$this->attributes[$name][] = base64_decode($v);
}
} else {
$this->attributes[$name][] = $value;
file_put_contents('/tmp/image2.jpg', $value);
foreach(explode('_', $value) AS $v) {
$this->attributes[$name][] = base64_decode($v);
}
} else {
$this->attributes[$name][] = $value;
}
......
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