Skip to content

Commit dc04328

Browse files
authored
Fix undefined var
1 parent c3fdb7f commit dc04328

File tree

1 file changed

+1
-1
lines changed
  • modules/saml/src/Auth/Source

1 file changed

+1
-1
lines changed

modules/saml/src/Auth/Source/SP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ private function startSSO2(Configuration $idpMetadata, array $state): void
554554
}
555555

556556
if (!empty($state['saml:NameIDPolicy'])) {
557-
$ar->setNameIdPolicy($policy);
557+
$ar->setNameIdPolicy($state['saml:NameIDPolicy']);
558558
}
559559

560560
$requesterID = [];

0 commit comments

Comments
 (0)