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

SAML2: Remove NotBefore from <SubjectConfirmationData>

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1637 44740490-163a-0410-bde0-09ae8108e29a
parent 8bf632d7
Branches
Tags
No related merge requests found
......@@ -948,9 +948,6 @@ class SAML2_Assertion implements SAML2_SignedElement {
$scd = $root->ownerDocument->createElementNS(SAML2_Const::NS_SAML, 'saml:SubjectConfirmationData');
$sc->appendChild($scd);
if ($this->notBefore !== NULL) {
$scd->setAttribute('NotBefore', gmdate('Y-m-d\TH:i:s\Z', $this->notBefore));
}
if ($this->notOnOrAfter !== NULL) {
$scd->setAttribute('NotOnOrAfter', gmdate('Y-m-d\TH:i:s\Z', $this->notOnOrAfter));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment