mirror of
https://github.com/vale981/accounts-ui
synced 2025-03-05 18:01:39 -05:00
Send login to correct email.
This commit is contained in:
parent
b28d8df4f3
commit
508aff3eed
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ Accounts.sendLoginEmail = function (userId, address) {
|
|||
var loginUrl = Accounts.urls.verifyEmail(tokenRecord.token);
|
||||
|
||||
var options = {
|
||||
to: email,
|
||||
to: address,
|
||||
from: Accounts.emailTemplates.loginNoPassword.from
|
||||
? Accounts.emailTemplates.loginNoPassword.from(user)
|
||||
: Accounts.emailTemplates.from,
|
||||
|
|
Loading…
Add table
Reference in a new issue