fix(lint): let Curly breathe

This commit is contained in:
Sabe Jones
2020-07-02 16:50:41 -05:00
parent a378106851
commit c4d131744b

View File

@@ -77,7 +77,7 @@ async function processEmailAddress (email) {
const socialUsers = await User.find(
{
'auth.local.email': {$not: emailRegex},
'auth.local.email': { $not: emailRegex },
$or: [
{ 'auth.facebook.emails.value': email },
{ 'auth.google.emails.value': email },