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 committed by backportbot[bot]
parent 5e0c5a0a83
commit f5ee7736d9

View 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 {