2021-06-25 14:21:21 +00:00
|
|
|
import buildMessageTemplate from "../../emails/buildMessageTemplate";
|
2021-06-24 15:59:11 +00:00
|
|
|
|
2021-09-21 09:59:34 +00:00
|
|
|
export const forgotPasswordSubjectTemplate = "Forgot your password? - Cal.com";
|
2021-06-24 15:59:11 +00:00
|
|
|
|
|
|
|
export const forgotPasswordMessageTemplate = `Hey there,
|
|
|
|
|
|
|
|
Use the link below to reset your password.
|
|
|
|
{{link}}
|
|
|
|
|
|
|
|
p.s. It expires in 6 hours.
|
|
|
|
|
2021-09-21 09:59:34 +00:00
|
|
|
- Cal.com`;
|
2021-06-24 15:59:11 +00:00
|
|
|
|
|
|
|
export const buildForgotPasswordMessage = (vars) => {
|
|
|
|
return buildMessageTemplate({
|
|
|
|
subjectTemplate: forgotPasswordSubjectTemplate,
|
|
|
|
messageTemplate: forgotPasswordMessageTemplate,
|
|
|
|
vars,
|
|
|
|
});
|
|
|
|
};
|