我正在使用parse-serve,我想自定义电子邮件以更改密码。问题是我找不到https://github.com/parse-community/parse-server/blob/master/src/Controllers/UserController.js
中的UserController.js文件defaultResetPasswordEmail({ link, user, appName }) {
const text =
'Hi,\n\n' +
'You requested to reset your password for ' +
appName +
(user.get('username')
? " (your username is '" + user.get('username') + "')"
: '') +
'.\n\n' +
'' +
'Click here to reset it:\n' +
link;
const to = user.get('email') || user.get('username');
const subject = 'Password Reset for ' + appName;
return { text, to, subject };
}
}
我在项目中找不到此代码!