Commit bdc78bde authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA
Browse files

Merge branch 'revert-15b08b89' into 'development'

Revert "Merge branch 'feat/9579_admin_reply_to_user_by_email' into 'development'"

See merge request !14
parents 15b08b89 2fdf6951
Pipeline #8494 passed with stage
in 5 seconds
...@@ -543,7 +543,6 @@ export class LegacyService { ...@@ -543,7 +543,6 @@ export class LegacyService {
await Promise.all([ await Promise.all([
this.sendEmail({ this.sendEmail({
html: adminEmail, html: adminEmail,
reply-to : [token.email],
to: [this.conf.userSupportMailbox], to: [this.conf.userSupportMailbox],
subject: 'Demande d’accès aux données', subject: 'Demande d’accès aux données',
}), }),
...@@ -644,7 +643,6 @@ export class LegacyService { ...@@ -644,7 +643,6 @@ export class LegacyService {
await Promise.all([ await Promise.all([
this.sendEmail({ this.sendEmail({
html: adminEmail, html: adminEmail,
reply-to : [token.email],
to: [this.conf.userSupportMailbox], to: [this.conf.userSupportMailbox],
subject: 'Demande de renouvellement d’accès aux données', subject: 'Demande de renouvellement d’accès aux données',
}), }),
...@@ -749,7 +747,6 @@ export class LegacyService { ...@@ -749,7 +747,6 @@ export class LegacyService {
await Promise.all([ await Promise.all([
this.sendEmail({ this.sendEmail({
html: adminEmail, html: adminEmail,
reply-to : [token.email],
to: [this.conf.userSupportMailbox], to: [this.conf.userSupportMailbox],
subject: 'Demande de suppression d’accès aux données', subject: 'Demande de suppression d’accès aux données',
}), }),
...@@ -837,4 +834,4 @@ export class LegacyService { ...@@ -837,4 +834,4 @@ export class LegacyService {
handleError(error, new InternalServerErrorException('Couldn\'t send email.')); handleError(error, new InternalServerErrorException('Couldn\'t send email.'));
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment