Hide _2fDevices with REST services

This commit is contained in:
Christophe Maudoux 2019-06-15 22:37:38 +02:00
parent 8cc2beb976
commit f514da3c3a
4 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ sub defaultValues {
'groups' => {},
'handlerInternalCache' => 15,
'handlerServiceTokenTTL' => 30,
'hiddenAttributes' => '_password',
'hiddenAttributes' => '_password _2fDevices',
'httpOnly' => 1,
'https' => -1,
'impersonationHiddenAttributes' => '_2fDevices _loginHistory',

View File

@ -1209,7 +1209,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
'type' => 'int'
},
'hiddenAttributes' => {
'default' => '_password',
'default' => '_password _2fDevices',
'type' => 'text'
},
'hideOldPassword' => {

View File

@ -704,7 +704,7 @@ sub attributes {
},
hiddenAttributes => {
type => 'text',
default => '_password',
default => '_password _2fDevices',
documentation => 'Name of attributes to hide in logs',
},
key => {

File diff suppressed because one or more lines are too long