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

index a13c97aa0c56c60f2314d557369c20e4769d6ccc..587d6ff37db15b42f1acf0faec69256b758a93d9 100644 (file)
@@ -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 {