Skip to content

Commit aff5d46

Browse files
Merge pull request #48586 from nextcloud/backport/48584/stable30
[stable30] fix(config): Mark more app configs sensitive
2 parents eaabc28 + 3956088 commit aff5d46

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lib/private/AppConfig.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,12 @@ private function getSensitiveKeys(string $app): array {
14901490
'notify_push' => [
14911491
'/^cookie$/',
14921492
],
1493+
'onlyoffice' => [
1494+
'/^jwt_secret$/',
1495+
],
1496+
'passwords' => [
1497+
'/^SSEv1ServerKey$/',
1498+
],
14931499
'serverinfo' => [
14941500
'/^token$/',
14951501
],
@@ -1521,6 +1527,9 @@ private function getSensitiveKeys(string $app): array {
15211527
'user_ldap' => [
15221528
'/^(s..)?ldap_agent_password$/',
15231529
],
1530+
'twofactor_gateway' => [
1531+
'/^.*token$/',
1532+
],
15241533
'user_saml' => [
15251534
'/^idp-x509cert$/',
15261535
],

0 commit comments

Comments
 (0)