Skip to content

Commit 9ef076d

Browse files
committed
Could not cherrypick the fix from develop where the NameID is not shown as there was other stuff in this commit. Therefore made the small change again
1 parent e237c76 commit 9ef076d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

library/EngineBlock/Corto/Module/Service/ProvideConsent.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ public function serve($serviceName)
7878
);
7979
return;
8080
}
81-
$nameId = isset($response['saml:Assertion']['saml:Subject']['saml:NameID']['__v']) ?
82-
$response['saml:Assertion']['saml:Subject']['saml:NameID']['__v'] : null;
81+
/*
82+
* We don't show the nameId for now as we must base this on the nameID format and this will
83+
* be later on in the process defined.
84+
*/
85+
$nameId = null;
8386

8487
$html = $this->_server->renderTemplate(
8588
'consent',

0 commit comments

Comments
 (0)