Remove userSensitiveFields default value. (#5588)
This commit is contained in:
committed by
Arthur Cinader
parent
3bb1796e12
commit
5a8a9472e9
@@ -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',
|
||||
|
||||
@@ -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"]}} */
|
||||
|
||||
Reference in New Issue
Block a user