summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-02 14:33:07 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-02 14:33:07 +0200
commitfd844f3eb3bdfe1186c42df382b3de2e02c98cd4 (patch)
tree847901bc1bb69a2e27b4f41669b0017fcd4ef21b /lib/private
parent953ebb0584f41d781a06e5dbc6ca072adbb0961f (diff)
parent3397e27657f67ed68ae506ced5759e73e26a9188 (diff)
downloadnextcloud-server-fd844f3eb3bdfe1186c42df382b3de2e02c98cd4.tar.gz
nextcloud-server-fd844f3eb3bdfe1186c42df382b3de2e02c98cd4.zip
Merge pull request #24336 from owncloud/issue-24328-remove-password-from-exception-trace-in-dav-auth
Remove the password from the validateUserPass() method as well
Diffstat (limited to 'lib/private')
-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 bbdad9cf166..d82346bbcf0 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|updatePrivateKeyPassword)\(.*\)!', '$1(*** username and password replaced ***)', $exception['Trace']);
+ $exception['Trace'] = preg_replace('!(login|checkPassword|updatePrivateKeyPassword|validateUserPass)\(.*\)!', '$1(*** username and password replaced ***)', $exception['Trace']);
$msg = isset($context['message']) ? $context['message'] : 'Exception';
$msg .= ': ' . json_encode($exception);
$this->error($msg, $context);