mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
📧 update email templates (#2057)
* 📧 chore: update email templates * 📧 update password reset confirmation
This commit is contained in:
parent
2f88c5cb8a
commit
f489aee518
4 changed files with 664 additions and 20 deletions
|
|
@ -172,8 +172,10 @@ const requestPasswordReset = async (email) => {
|
|||
user.email,
|
||||
'Password Reset Request',
|
||||
{
|
||||
appName: process.env.APP_TITLE || 'LibreChat',
|
||||
name: user.name,
|
||||
link: link,
|
||||
year: new Date().getFullYear(),
|
||||
},
|
||||
'requestPasswordReset.handlebars',
|
||||
);
|
||||
|
|
@ -214,7 +216,9 @@ const resetPassword = async (userId, token, password) => {
|
|||
user.email,
|
||||
'Password Reset Successfully',
|
||||
{
|
||||
appName: process.env.APP_TITLE || 'LibreChat',
|
||||
name: user.name,
|
||||
year: new Date().getFullYear(),
|
||||
},
|
||||
'passwordReset.handlebars',
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue