mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37:22 +01:00
fix(script): catch Apple auth users
This commit is contained in:
@@ -83,6 +83,7 @@ async function processEmailAddress (email) {
|
|||||||
$or: [
|
$or: [
|
||||||
{ 'auth.facebook.emails.value': email },
|
{ 'auth.facebook.emails.value': email },
|
||||||
{ 'auth.google.emails.value': email },
|
{ 'auth.google.emails.value': email },
|
||||||
|
{ 'auth.apple.emails.value': email },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{ _id: 1, apiToken: 1, auth: 1 },
|
{ _id: 1, apiToken: 1, auth: 1 },
|
||||||
|
|||||||
Reference in New Issue
Block a user