Skip to content

Commit c0f47a0

Browse files
committed
fix: upmClassifCodes now stored as string
1 parent 08630c0 commit c0f47a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenID.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ private function _user_from_claim(array $claim): WP_User
417417
'role' => $this->default_role,
418418
'meta_input' => [
419419
'openid_id' => $claim['sub'],
420-
'upm_classif_codes' => $claim['upmClassifCode'] ?? '',
420+
'upm_classif_codes' => implode(', ', $claim['upmClassifCode']) ?? '',
421421
],
422422
];
423423

0 commit comments

Comments
 (0)