diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-04-01 10:32:23 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-04-01 10:32:23 +0200 |
commit | 09b14ceffcb5a552bb87fca38c307d2634411581 (patch) | |
tree | 8fdaec585f2086fa8a32bb1df727e81263ac48f4 | |
parent | cce619436807af3127542a9c73b9d2d85f9327bd (diff) | |
download | nextcloud-server-09b14ceffcb5a552bb87fca38c307d2634411581.tar.gz nextcloud-server-09b14ceffcb5a552bb87fca38c307d2634411581.zip |
Also replace password in updatePrivateKeyPassword
Fixes https://github.com/owncloud/core/issues/23717
-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); |