fix: corriger le flux de réinitialisation par e-mail
Some checks failed
Validation applicative / TypeScript, tests et build (push) Failing after 2m22s
Some checks failed
Validation applicative / TypeScript, tests et build (push) Failing after 2m22s
This commit is contained in:
@@ -13,6 +13,7 @@ export interface EmailVariables {
|
||||
lieu?: string;
|
||||
formateur?: string;
|
||||
lienInscription?: string;
|
||||
lienReinitialisation?: string;
|
||||
[key: string]: string | undefined;
|
||||
}
|
||||
|
||||
@@ -65,6 +66,7 @@ export function generateEmailPreview(template: string): string {
|
||||
lieu: 'Salle de formation A - Bâtiment principal',
|
||||
formateur: 'Jean Martin',
|
||||
lienInscription: 'https://exemple.com/inscription/abc123',
|
||||
lienReinitialisation: 'https://exemple.com/reset-password?token=abc123',
|
||||
};
|
||||
|
||||
return replaceEmailVariables(template, exampleVariables);
|
||||
|
||||
Reference in New Issue
Block a user