From 58ee66cc7f6b68ac69a48edef3d1dd1302a0d0a8 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 6 Dec 2010 08:17:02 +0000 Subject: [PATCH] saml:NameIDAttribute: Update to use the new source for the NameID. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2679 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml/lib/Auth/Process/NameIDAttribute.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/saml/lib/Auth/Process/NameIDAttribute.php b/modules/saml/lib/Auth/Process/NameIDAttribute.php index 26640e257..4959d2c97 100644 --- a/modules/saml/lib/Auth/Process/NameIDAttribute.php +++ b/modules/saml/lib/Auth/Process/NameIDAttribute.php @@ -103,11 +103,11 @@ class sspmod_saml_Auth_Process_NameIDAttribute extends SimpleSAML_Auth_Processin assert('isset($state["Source"]["entityid"])'); assert('isset($state["Destination"]["entityid"])'); - if (!isset($state['saml:sp:State']['LogoutState']['saml:logout:NameID'])) { + if (!isset($state['saml:sp:NameID'])) { return; } - $rep = $state['saml:sp:State']['LogoutState']['saml:logout:NameID']; + $rep = $state['saml:sp:NameID']; assert('isset($rep["Value"])'); $rep['%'] = '%'; -- GitLab