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 <[email protected]>
  • Loading branch information
c00kiemon5ter committed Feb 24, 2023
1 parent ca89f1b commit abcc1de
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 abcc1de

Please sign in to comment.