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

Admins can reply to the user by answering the email

parent 7248c10c
......@@ -543,6 +543,7 @@ export class LegacyService {
await Promise.all([
this.sendEmail({
html: adminEmail,
reply-to : [token.email],
to: [this.conf.userSupportMailbox],
subject: 'Demande d’accès aux données',
}),
......@@ -643,6 +644,7 @@ export class LegacyService {
await Promise.all([
this.sendEmail({
html: adminEmail,
reply-to : [token.email],
to: [this.conf.userSupportMailbox],
subject: 'Demande de renouvellement d’accès aux données',
}),
......@@ -747,6 +749,7 @@ export class LegacyService {
await Promise.all([
this.sendEmail({
html: adminEmail,
reply-to : [token.email],
to: [this.conf.userSupportMailbox],
subject: 'Demande de suppression d’accès aux données',
}),
......@@ -834,4 +837,4 @@ export class LegacyService {
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