removes unused salt and hash hidden options

This commit is contained in:
James
2020-10-05 22:14:04 -04:00
parent b2a5279bcb
commit d9f78fc5bf

View File

@@ -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 } });
}