diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-04-29 09:23:36 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-02 10:44:09 +0200 |
commit | 3397e27657f67ed68ae506ced5759e73e26a9188 (patch) | |
tree | eaacaccd1e86c1773bc76fb7aaf2ab2f658ce191 /lib/private/Log.php | |
parent | 6b12f96b14ef4c560ae9be436caf2619739d74ae (diff) | |
download | nextcloud-server-3397e27657f67ed68ae506ced5759e73e26a9188.tar.gz nextcloud-server-3397e27657f67ed68ae506ced5759e73e26a9188.zip |
Remove the password from the validateUserPass() method as well
Diffstat (limited to 'lib/private/Log.php')
-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 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); |