Skip to content

Commit

Permalink
fix(config): Mark more app configs sensitive
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Oct 7, 2024
1 parent 363ba6b commit c900ef9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/private/AppConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -1490,6 +1490,12 @@ private function getSensitiveKeys(string $app): array {
'notify_push' => [
'/^cookie$/',
],
'onlyoffice' => [
'/^jwt_secret$/',
],
'passwords' => [
'/^SSEv1ServerKey$/',
],
'serverinfo' => [
'/^token$/',
],
Expand Down Expand Up @@ -1521,6 +1527,9 @@ private function getSensitiveKeys(string $app): array {
'user_ldap' => [
'/^(s..)?ldap_agent_password$/',
],
'twofactor_gateway' => [
'/^.*token$/',
],
'user_saml' => [
'/^idp-x509cert$/',
],
Expand Down

0 comments on commit c900ef9

Please sign in to comment.