mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
fix(script): revert email query
This commit is contained in:
parent
979497dd35
commit
01fd17ee3f
1 changed files with 2 additions and 2 deletions
|
|
@ -62,8 +62,8 @@ async function _processEmailAddress (email) {
|
|||
const users = await User.find({
|
||||
$or: [
|
||||
{'auth.local.email': emailRegex},
|
||||
{'auth.facebook.emails': emailRegex},
|
||||
{'auth.google.emails': emailRegex},
|
||||
{'auth.facebook.emails.value': emailRegex},
|
||||
{'auth.google.emails.value': emailRegex},
|
||||
]},
|
||||
{
|
||||
_id: 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue