Skip to content

Commit 2cfb717

Browse files
authored
Merge pull request #21486 from nextcloud/backport/21482/stable18
[stable18] Don't log Keys
2 parents cc2ca7c + f5ee773 commit 2cfb717

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/private/Log/ExceptionSerializer.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
use OC\Core\Controller\SetupController;
3131
use OC\HintException;
32+
use OC\Security\IdentityProof\Key;
3233
use OC\Setup;
3334

3435
class ExceptionSerializer {
@@ -94,7 +95,10 @@ class ExceptionSerializer {
9495
],
9596
Setup::class => [
9697
'install'
97-
]
98+
],
99+
Key::class => [
100+
'__construct'
101+
],
98102
];
99103

100104
private function editTrace(array &$sensitiveValues, array $traceLine): array {

0 commit comments

Comments
 (0)