From 2b1234105daa3b5287af148151181ad44d16de2a Mon Sep 17 00:00:00 2001 From: saravahdatipour Date: Thu, 5 Dec 2024 12:32:37 +0100 Subject: [PATCH] so that staging scheme can be used --- start_session.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/start_session.php b/start_session.php index 12312ca..b705f21 100644 --- a/start_session.php +++ b/start_session.php @@ -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'], + ] : [] ), ], ]