summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-06-21 09:19:35 +0200
committerGitHub <noreply@github.com>2020-06-21 09:19:35 +0200
commitadb5a80674d9399f9762edb20576049853d7706e (patch)
treed3aea13c69a3c520d553a0f9fc461542329b28f2 /lib
parent973c933b71b60e7d9585a380ecc64bf6b645b35e (diff)
parent0ebbabebe83c636ea3436e267f980f63e32ed13b (diff)
downloadnextcloud-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.php6
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 {