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' => {},
'handlerInternalCache' => 15,
'handlerServiceTokenTTL' => 30,
'hiddenAttributes' => '_password',
'hiddenAttributes' => '_password _2fDevices',
'httpOnly' => 1,
'https' => -1,
'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'
},
'hiddenAttributes' => {
'default' => '_password',
'default' => '_password _2fDevices',
'type' => 'text'
},
'hideOldPassword' => {

@ -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
Loading…
Cancel
Save