From 5a8a9472e9d09a157c2ceb6292771bcfb9ed2a18 Mon Sep 17 00:00:00 2001 From: William George Date: Tue, 14 May 2019 01:14:31 +0100 Subject: [PATCH] Remove userSensitiveFields default value. (#5588) --- src/Options/Definitions.js | 1 - src/Options/index.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Options/Definitions.js b/src/Options/Definitions.js index 654f38ae..b1564a78 100644 --- a/src/Options/Definitions.js +++ b/src/Options/Definitions.js @@ -330,7 +330,6 @@ module.exports.ParseServerOptions = { help: 'Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields', action: parsers.arrayParser, - default: ['email'], }, verbose: { env: 'VERBOSE', diff --git a/src/Options/index.js b/src/Options/index.js index c41102ec..dc47b461 100644 --- a/src/Options/index.js +++ b/src/Options/index.js @@ -82,8 +82,7 @@ export interface ParseServerOptions { :ENV: PARSE_SERVER_PRESERVE_FILE_NAME :DEFAULT: false */ preserveFileName: ?boolean; - /* Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields - :DEFAULT: ["email"] */ + /* Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields */ userSensitiveFields: ?(string[]); /* Protected fields that should be treated with extra security when fetching details. :DEFAULT: {"_User": {"*": ["email"]}} */