mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix: typo in apssword server
This commit is contained in:
@@ -1040,9 +1040,9 @@ Accounts.createUserVerifyingEmail =
|
||||
// that address.
|
||||
if (options.email && Accounts._options.sendVerificationEmail) {
|
||||
if (options.password) {
|
||||
awaitAccounts.sendVerificationEmail(userId, options.email);
|
||||
await Accounts.sendVerificationEmail(userId, options.email);
|
||||
} else {
|
||||
awaitAccounts.sendEnrollmentEmail(userId, options.email);
|
||||
await Accounts.sendEnrollmentEmail(userId, options.email);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user