diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-06-21 09:19:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-21 09:19:35 +0200 |
commit | adb5a80674d9399f9762edb20576049853d7706e (patch) | |
tree | d3aea13c69a3c520d553a0f9fc461542329b28f2 /lib | |
parent | 973c933b71b60e7d9585a380ecc64bf6b645b35e (diff) | |
parent | 0ebbabebe83c636ea3436e267f980f63e32ed13b (diff) | |
download | nextcloud-server-adb5a80674d9399f9762edb20576049853d7706e.tar.gz nextcloud-server-adb5a80674d9399f9762edb20576049853d7706e.zip |
Merge pull request #21485 from nextcloud/backport/21482/stable19
[stable19] Don't log Keys
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Log/ExceptionSerializer.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index a13c97aa0c5..587d6ff37db 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -30,6 +30,7 @@ namespace OC\Log; use OC\Core\Controller\SetupController; use OC\HintException; +use OC\Security\IdentityProof\Key; use OC\Setup; class ExceptionSerializer { @@ -95,7 +96,10 @@ class ExceptionSerializer { ], Setup::class => [ 'install' - ] + ], + Key::class => [ + '__construct' + ], ]; private function editTrace(array &$sensitiveValues, array $traceLine): array { |