From 78ee14dad5e1eb98109f47608fd9666fed0faaa5 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 1 Apr 2016 10:32:23 +0200 Subject: [PATCH] Also replace password in updatePrivateKeyPassword Fixes https://github.com/owncloud/core/issues/23717 --- lib/private/log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/log.php b/lib/private/log.php index addefe6e53..9a2a2da906 100644 --- a/lib/private/log.php +++ b/lib/private/log.php @@ -284,7 +284,7 @@ class Log implements ILogger { 'File' => $exception->getFile(), 'Line' => $exception->getLine(), ); - $exception['Trace'] = preg_replace('!(login|checkPassword)\(.*\)!', '$1(*** username and password replaced ***)', $exception['Trace']); + $exception['Trace'] = preg_replace('!(login|checkPassword|updatePrivateKeyPassword)\(.*\)!', '$1(*** username and password replaced ***)', $exception['Trace']); $msg = isset($context['message']) ? $context['message'] : 'Exception'; $msg .= ': ' . json_encode($exception); $this->error($msg, $context);