Skip to content

Commit f10d745

Browse files
committed
[REMANIEMENT][ESPACE AIDANT] Supprime le champ mot de passe inutile dans la commande de création de l’espace Aidant
1 parent 1c03673 commit f10d745

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

mon-aide-cyber-api/src/api/pro-connect/routeProConnect.ts

-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ export const routesProConnect = (configuration: ConfigurationServeur) => {
126126
dateSignatureCGU: FournisseurHorloge.maintenant(),
127127
email: email!,
128128
nomPrenom: `${prenom} ${nom}`,
129-
motDePasse: '',
130129
type: 'CommandeCreeEspaceAidant',
131130
departement: {
132131
nom: 'Gironde',

mon-aide-cyber-api/src/espace-aidant/CapteurCommandeCreeEspaceAidant.ts

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export type CommandeCreeEspaceAidant = Omit<Commande, 'type'> & {
1717
dateSignatureCGU: Date;
1818
identifiant: crypto.UUID;
1919
email: string;
20-
motDePasse: string;
2120
nomPrenom: string;
2221
departement: Departement;
2322
siret?: Siret;

mon-aide-cyber-api/src/gestion-demandes/devenir-aidant/CapteurSagaDemandeAidantCreeEspaceAidant.ts

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export class CapteurSagaDemandeAidantCreeEspaceAidant
4949
dateSignatureCGU: FournisseurHorloge.maintenant(),
5050
email: utilisateur.email,
5151
nomPrenom: utilisateur.nomPrenom,
52-
motDePasse: saga.motDePasse,
5352
type: 'CommandeCreeEspaceAidant',
5453
departement: demande.departement,
5554
})

mon-aide-cyber-api/test/espace-aidant/CapteurCommandeCreeEspaceAidant.spec.ts

-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ describe('Capteur de commande de création de compte Aidant', () => {
2828
dateSignatureCGU,
2929
3030
nomPrenom: 'Jean Dupont',
31-
motDePasse: 'toto12345',
3231
type: 'CommandeCreeEspaceAidant',
3332
departement: {
3433
nom: 'Alpes-de-Haute-Provence',
@@ -77,7 +76,6 @@ describe('Capteur de commande de création de compte Aidant', () => {
7776
dateSignatureCGU,
7877
email: aidant.email,
7978
nomPrenom: 'Jean Dupont',
80-
motDePasse: '',
8179
type: 'CommandeCreeEspaceAidant',
8280
departement: {
8381
nom: 'Ariège',
@@ -109,7 +107,6 @@ describe('Capteur de commande de création de compte Aidant', () => {
109107
dateSignatureCGU,
110108
111109
nomPrenom: 'Jean Dupont',
112-
motDePasse: '',
113110
type: 'CommandeCreeEspaceAidant',
114111
departement: {
115112
nom: 'Guadeloupe',
@@ -144,7 +141,6 @@ describe('Capteur de commande de création de compte Aidant', () => {
144141
dateSignatureCGU,
145142
146143
nomPrenom: 'Jean Dupont',
147-
motDePasse: '',
148144
type: 'CommandeCreeEspaceAidant',
149145
departement: {
150146
nom: 'Guadeloupe',

0 commit comments

Comments
 (0)