mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
tests: updated accounts-base _checkForCaseInsensitiveDuplicates
This commit is contained in:
@@ -1443,7 +1443,7 @@ export class AccountsServer extends AccountsCommon {
|
||||
return options;
|
||||
};
|
||||
|
||||
_checkForCaseInsensitiveDuplicates(
|
||||
async _checkForCaseInsensitiveDuplicates(
|
||||
fieldName,
|
||||
displayName,
|
||||
fieldValue,
|
||||
@@ -1457,7 +1457,7 @@ export class AccountsServer extends AccountsCommon {
|
||||
);
|
||||
|
||||
if (fieldValue && !skipCheck) {
|
||||
const matchedUsers = Meteor.users
|
||||
const matchedUsers = await Meteor.users
|
||||
.find(
|
||||
this._selectorForFastCaseInsensitiveLookup(fieldName, fieldValue),
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user