Don't log Keys

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-06-19 13:44:27 +02:00
parent 52dd1e3a80
commit a7f26cfe28
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,7 @@ namespace OC\Log;
use OC\Core\Controller\SetupController; use OC\Core\Controller\SetupController;
use OC\HintException; use OC\HintException;
use OC\Security\IdentityProof\Key;
use OC\Setup; use OC\Setup;
class ExceptionSerializer { class ExceptionSerializer {
@ -95,7 +96,10 @@ class ExceptionSerializer {
], ],
Setup::class => [ Setup::class => [
'install' 'install'
] ],
Key::class => [
'__construct'
],
]; ];
private function editTrace(array &$sensitiveValues, array $traceLine): array { private function editTrace(array &$sensitiveValues, array $traceLine): array {