Skip to content

Commit

Permalink
fix: inversion prenom/nom
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzem committed Jun 19, 2024
1 parent cf5b23c commit dc3c609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/idp/service/idp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export abstract class IdpService {
coordonnees = coordonneesResult.data
}
}
const nom = coordonnees?.nom ?? userInfo.given_name
const prenom = coordonnees?.prenom ?? userInfo.family_name
const nom = coordonnees?.nom ?? userInfo.family_name
const prenom = coordonnees?.prenom ?? userInfo.given_name
const email = coordonnees?.email ?? userInfo.email

// besoin de persister le preferred_username parce que le get token n'a pas cette info dans le context
Expand Down

0 comments on commit dc3c609

Please sign in to comment.