diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-19 13:44:27 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-19 13:44:27 +0200 |
commit | a7f26cfe28c45ea3959983d31bad42de44c97448 (patch) | |
tree | 77891b541d49c4dc955bce67ccb3ab907bf356bd /lib | |
parent | 52dd1e3a807a42f591f7c8eb8aecdc8e2f51108a (diff) | |
download | nextcloud-server-a7f26cfe28c45ea3959983d31bad42de44c97448.tar.gz nextcloud-server-a7f26cfe28c45ea3959983d31bad42de44c97448.zip |
Don't log Keys
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Log/ExceptionSerializer.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index a13c97aa0c5..587d6ff37db 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -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 { |