diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-04 10:54:59 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-04 10:54:59 +0200 |
commit | 64d68eb2da2c7a190eb7dda1f78df821b907ce83 (patch) | |
tree | f532c5a8fc9749ae7f82f46bfb1a405c5627699a | |
parent | 1d542e4ed28a58329c7019837fe6242516358ac0 (diff) | |
parent | 09b14ceffcb5a552bb87fca38c307d2634411581 (diff) | |
download | nextcloud-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.php | 2 |
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); |