From d9f78fc5bf136abe70ffb32b7a06f6a7d413238b Mon Sep 17 00:00:00 2001 From: James Date: Mon, 5 Oct 2020 22:14:04 -0400 Subject: [PATCH] removes unused salt and hash hidden options --- src/collections/init.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/collections/init.js b/src/collections/init.js index 9195e81bd0..f9e33bd7ff 100644 --- a/src/collections/init.js +++ b/src/collections/init.js @@ -55,8 +55,6 @@ function registerCollections() { }; } - schema.path('hash').options.hide = true; - schema.path('salt').options.hide = true; if (collection.auth.emailVerification) { schema.add({ _verificationToken: { type: String, hide: true } }); }