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"]}} */