Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 200 Bytes

temp-delete-bad-accounts.md

File metadata and controls

7 lines (6 loc) · 200 Bytes

Mongodb query to remove old unconfirmed accounts

db.Users.deleteMany({ EmailConfirmed: false, CreatedOn: {$gt: ISODate('2022-10-01')}, NormalizedEmail: {$not: {$regex: "@OKSTATE.EDU"}} })