summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-04 10:54:59 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-04 10:54:59 +0200
commit64d68eb2da2c7a190eb7dda1f78df821b907ce83 (patch)
treef532c5a8fc9749ae7f82f46bfb1a405c5627699a
parent1d542e4ed28a58329c7019837fe6242516358ac0 (diff)
parent09b14ceffcb5a552bb87fca38c307d2634411581 (diff)
downloadnextcloud-server-64d68eb2da2c7a190eb7dda1f78df821b907ce83.tar.gz
nextcloud-server-64d68eb2da2c7a190eb7dda1f78df821b907ce83.zip
Merge pull request #23722 from owncloud/also-hide-password-for-private-key-password-update
Also replace password in updatePrivateKeyPassword
-rw-r--r--lib/private/log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/log.php b/lib/private/log.php
index addefe6e53d..9a2a2da906e 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);