Skip to content

Instantly share code, notes, and snippets.

@QuincyLarson
Created March 14, 2015 03:17
Show Gist options
  • Save QuincyLarson/b9aea2d75a8f19539e29 to your computer and use it in GitHub Desktop.
Save QuincyLarson/b9aea2d75a8f19539e29 to your computer and use it in GitHub Desktop.
{ $and: [ {'password': { $exists: true } } , { $or: [ { 'twitter': {$exists: false} }, {'linkedin': {$exists: false } }, {'facebook': {$exists: false } }, {'google': {$exists: false } } ] } ] }
@QuincyLarson
Copy link
Author

Check which users have passwords and no omniauth token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment