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

core_Auth_Process_TargetedID: Save NameID as a string.

This works around PHP not being able to serialize() DOM nodes.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1701 44740490-163a-0410-bde0-09ae8108e29a
parent 9af39efe
Branches
Tags v14.0.1
Loading
......@@ -142,7 +142,7 @@ class sspmod_core_Auth_Process_TargetedID extends SimpleSAML_Auth_ProcessingFilt
$doc->appendChild($root);
SAML2_Utils::addNameId($root, $nameId);
$uid = $root->childNodes;
$uid = $doc->saveXML($root->firstChild);
}
$state['Attributes']['eduPersonTargetedID'] = array($uid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment