File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -508,10 +508,10 @@ public function validateTimestamps()
508508 for ($ i = 0 ; $ i < $ timestampNodes ->length ; $ i ++) {
509509 $ nbAttribute = $ timestampNodes ->item ($ i )->attributes ->getNamedItem ("NotBefore " );
510510 $ naAttribute = $ timestampNodes ->item ($ i )->attributes ->getNamedItem ("NotOnOrAfter " );
511- if ($ nbAttribute && Onelogin_SAML2_Utils ::parseSAML2Time ($ nbAttribute ->textContent ) > time () + OneLogin_Saml2_Constants::ALOWED_CLOCK_DRIFT ) {
511+ if ($ nbAttribute && OneLogin_SAML2_Utils ::parseSAML2Time ($ nbAttribute ->textContent ) > time () + OneLogin_Saml2_Constants::ALOWED_CLOCK_DRIFT ) {
512512 return false ;
513513 }
514- if ($ naAttribute && Onelogin_SAML2_Utils ::parseSAML2Time ($ naAttribute ->textContent ) + OneLogin_Saml2_Constants::ALOWED_CLOCK_DRIFT <= time ()) {
514+ if ($ naAttribute && OneLogin_SAML2_Utils ::parseSAML2Time ($ naAttribute ->textContent ) + OneLogin_Saml2_Constants::ALOWED_CLOCK_DRIFT <= time ()) {
515515 return false ;
516516 }
517517 }
You can’t perform that action at this time.
0 commit comments