Skip to content

Commit

Permalink
Fix subject-id requirements processing
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
  • Loading branch information
c00kiemon5ter committed Feb 24, 2023
1 parent e60755e commit 6ba7a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/saml2/assertion.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def restrict(self, ava, sp_entity_id, metadata=None):
requirements_subject_id = metadata_store.subject_id_requirement(sp_entity_id) if metadata_store else []
for r in requirements_subject_id:
if r not in required_attributes:
required_attributes.extend(r)
required_attributes.append(r)
return self.filter(
ava,
sp_entity_id,
Expand Down

0 comments on commit 6ba7a8d

Please sign in to comment.