diff --git a/modules/saml/www/sp/saml2-acs.php b/modules/saml/www/sp/saml2-acs.php index 49470930596a69acb2680cd0241c4c8a2f6016f5..7e7440036a4aa0e4b7a8f22198f25f2151fa0d28 100644 --- a/modules/saml/www/sp/saml2-acs.php +++ b/modules/saml/www/sp/saml2-acs.php @@ -50,7 +50,7 @@ try { SimpleSAML_Auth_State::throwException($state, $e); } -$nameId = $assertion->getNameID(); +$nameId = $assertion->getNameId(); $sessionIndex = $assertion->getSessionIndex(); /* We need to save the NameID and SessionIndex for logout. */ diff --git a/modules/saml2/www/sp/acs.php b/modules/saml2/www/sp/acs.php index 8a743f420f6f24e17d4d1469331aecc0f9ca0eea..06f93b32a5a6b0d92f5a01a601e1bf60bdde7bde 100644 --- a/modules/saml2/www/sp/acs.php +++ b/modules/saml2/www/sp/acs.php @@ -50,7 +50,7 @@ try { SimpleSAML_Auth_State::throwException($state, $e); } -$nameId = $assertion->getNameID(); +$nameId = $assertion->getNameId(); $sessionIndex = $assertion->getSessionIndex(); /* We need to save the NameID and SessionIndex for logout. */