diff --git a/indexes.yaml b/indexes.yaml index a7446480..129192aa 100644 --- a/indexes.yaml +++ b/indexes.yaml @@ -102,6 +102,13 @@ indexes: user: 1 _id: -1 +- collection: authlog + type: users # index applies to users database + index: + name: user + key: + user: hashed + - collection: authlog type: users # index applies to users database index: diff --git a/package.json b/package.json index c63b3254..cae98d02 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "linkify-it": "2.0.3", "mailsplit": "4.0.2", "mobileconfig": "2.1.0", - "mongo-cursor-pagination": "^5.0.0", + "mongo-cursor-pagination": "5.0.0", "mongodb": "2.2.33", "nodemailer": "4.3.1", "npmlog": "4.1.2",