Skip to content

Commit b029f70

Browse files
committed
Rename config switch for password enforcement exception
Rename the config switch and add it to config.sample.php Signed-off-by: Vincent Petry <[email protected]>
1 parent 77abc75 commit b029f70

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

apps/settings/lib/Settings/Admin/Sharing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function getForm() {
9191
'restrictUserEnumerationFullMatch' => $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match', 'yes'),
9292
'enforceLinkPassword' => Util::isPublicLinkPasswordRequired(false),
9393
'passwordExcludedGroups' => $excludedPasswordGroupsList,
94-
'passwordExcludedGroupsFeatureEnabled' => $this->config->getSystemValueBool('allow_disabled_password_enforcement_groups', false),
94+
'passwordExcludedGroupsFeatureEnabled' => $this->config->getSystemValueBool('sharing.allow_disabled_password_enforcement_groups', false),
9595
'onlyShareWithGroupMembers' => $this->shareManager->shareWithGroupMembersOnly(),
9696
'shareAPIEnabled' => $this->config->getAppValue('core', 'shareapi_enabled', 'yes'),
9797
'shareDefaultExpireDateSet' => $this->config->getAppValue('core', 'shareapi_default_expire_date', 'no'),

config/config.sample.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,11 @@
15591559
*/
15601560
'sharing.enable_share_mail' => true,
15611561

1562+
/**
1563+
* Set to true to enable the feature to add exceptions for share password enforcement
1564+
*/
1565+
'sharing.allow_disabled_password_enforcement_groups' => false,
1566+
15621567
/**
15631568
* Set to true to always transfer incoming shares by default
15641569
* when running "occ files:transfer-ownership".

0 commit comments

Comments
 (0)