Remove userSensitiveFields default value. (#5588)

This commit is contained in:
William George
2019-05-14 01:14:31 +01:00
committed by Arthur Cinader
parent 3bb1796e12
commit 5a8a9472e9
2 changed files with 1 additions and 3 deletions

View File

@@ -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',

View File

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