Skip to content

Commit 4c403ac

Browse files
authored
Merge pull request #21487 from nextcloud/backport/21482/stable17
[stable17] Don't log Keys
2 parents 32a919f + 189b98f commit 4c403ac

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
@@ -23,6 +23,7 @@
2323

2424
use OC\Core\Controller\SetupController;
2525
use OC\HintException;
26+
use OC\Security\IdentityProof\Key;
2627
use OC\Setup;
2728

2829
class ExceptionSerializer {
@@ -88,7 +89,10 @@ class ExceptionSerializer {
8889
],
8990
Setup::class => [
9091
'install'
91-
]
92+
],
93+
Key::class => [
94+
'__construct'
95+
],
9296
];
9397

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

0 commit comments

Comments
 (0)