Skip to content

Commit

Permalink
so that staging scheme can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
saravahdatipour committed Dec 5, 2024
1 parent 9cf468d commit 2b12341
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions start_session.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,17 @@
array_merge(
[
[SCHEME .'.pbdf.linkedin.familyname'],
[SCHEME .'.gemeente.personalData.fullname'],
DESIRED_ATTRIBUTE_TO_DISCLOSE ? [SCHEME .".".DESIRED_ATTRIBUTE_TO_DISCLOSE] : [],
],
SCHEME === 'pbdf' ? [
[SCHEME .'.gemeente.personalData.fullname'],
['pbdf.pilot-amsterdam.idcard.surname'],
['pbdf.pilot-amsterdam.passport.surname'],
] : [] // These credential types have no equivalent in irma-demo
] : [], // These credential types have no equivalent in irma-demo

SCHEME == 'irma-demo' ? [
[SCHEME .'.gemeente.personalData.fullname'],
] : []
),
],
]
Expand Down

0 comments on commit 2b12341

Please sign in to comment.