Hide _2fDevices with REST services

environments/ppa-mbqj77/deployments/760^2
Christophe Maudoux 6 years ago
parent 8cc2beb976
commit f514da3c3a
  1. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/DefaultValues.pm
  2. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Attributes.pm
  3. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Attributes.pm
  4. 2
      lemonldap-ng-manager/site/htdocs/static/struct.json

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

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

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

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save