docs: comment hint :shipit:

This commit is contained in:
Julian Lam
2022-01-11 13:53:59 -05:00
parent 2633d8a53c
commit ffdf26afef

View File

@@ -237,6 +237,7 @@ module.exports = function (User) {
return; return;
} }
// 👉 Looking for email change logic? src/user/email.js (UserEmail.confirmByUid)
if (newEmail) { if (newEmail) {
await User.email.sendValidationEmail(uid, { await User.email.sendValidationEmail(uid, {
email: newEmail, email: newEmail,