]> source.dussan.org Git - nextcloud-server.git/commitdiff
Don't log Keys 21486/head
authorJoas Schilling <coding@schilljs.com>
Fri, 19 Jun 2020 11:44:27 +0000 (13:44 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 19 Jun 2020 13:13:35 +0000 (13:13 +0000)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Log/ExceptionSerializer.php

index 4ec35b9567387ec064bb8426e17621ce290cb44d..e4980492d3000bd011818052e7a0c3bbfffaecc8 100644 (file)
@@ -29,6 +29,7 @@ namespace OC\Log;
 
 use OC\Core\Controller\SetupController;
 use OC\HintException;
+use OC\Security\IdentityProof\Key;
 use OC\Setup;
 
 class ExceptionSerializer {
@@ -94,7 +95,10 @@ class ExceptionSerializer {
                ],
                Setup::class => [
                        'install'
-               ]
+               ],
+               Key::class => [
+                       '__construct'
+               ],
        ];
 
        private function editTrace(array &$sensitiveValues, array $traceLine): array {