Skip to content

Commit

Permalink
fix: upmClassifCodes now stored as string
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablofl01 committed Sep 3, 2024
1 parent 08630c0 commit c0f47a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenID.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ private function _user_from_claim(array $claim): WP_User
'role' => $this->default_role,
'meta_input' => [
'openid_id' => $claim['sub'],
'upm_classif_codes' => $claim['upmClassifCode'] ?? '',
'upm_classif_codes' => implode(', ', $claim['upmClassifCode']) ?? '',
],
];

Expand Down

0 comments on commit c0f47a0

Please sign in to comment.