Skip to content

Commit fbe3c01

Browse files
awgeorgeacinader
authored andcommitted
Remove userSensitiveFields default value. (parse-community#5588)
1 parent bbea7bf commit fbe3c01

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Options/Definitions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ module.exports.ParseServerOptions = {
330330
help:
331331
'Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields',
332332
action: parsers.arrayParser,
333-
default: ['email'],
334333
},
335334
verbose: {
336335
env: 'VERBOSE',

src/Options/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ export interface ParseServerOptions {
8282
:ENV: PARSE_SERVER_PRESERVE_FILE_NAME
8383
:DEFAULT: false */
8484
preserveFileName: ?boolean;
85-
/* Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields
86-
:DEFAULT: ["email"] */
85+
/* Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields */
8786
userSensitiveFields: ?(string[]);
8887
/* Protected fields that should be treated with extra security when fetching details.
8988
:DEFAULT: {"_User": {"*": ["email"]}} */

0 commit comments

Comments
 (0)