diff options
author | Joas Schilling <coding@schilljs.com> | 2017-09-01 10:31:11 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-09-06 16:38:55 +0200 |
commit | b68609d0cf248ed42c9fe14706131da06b51d496 (patch) | |
tree | 0168b7efd04d16d95a6eb016c36be56fd3838fa1 /lib/private/Log.php | |
parent | 6f7d200838082f84cd482c5f08612268c9378b9f (diff) | |
download | nextcloud-server-b68609d0cf248ed42c9fe14706131da06b51d496.tar.gz nextcloud-server-b68609d0cf248ed42c9fe14706131da06b51d496.zip |
Don't log LDAP password when server is not available
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r-- | lib/private/Log.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index 0d291218096..d93b29414e6 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -65,6 +65,7 @@ class Log implements ILogger { 'completeLogin', 'login', 'checkPassword', + 'checkPasswordNoLogging', 'loginWithPassword', 'updatePrivateKeyPassword', 'validateUserPass', @@ -82,14 +83,19 @@ class Log implements ILogger { 'solveChallenge', 'verifyChallenge', - //ICrypto + // ICrypto 'calculateHMAC', 'encrypt', 'decrypt', - //LoginController + // LoginController 'tryLogin', 'confirmPassword', + + // LDAP + 'bind', + 'areCredentialsValid', + 'invokeLDAPMethod', ]; /** @@ -97,7 +103,7 @@ class Log implements ILogger { * @param SystemConfig $config the system config object * @param null $normalizer */ - public function __construct($logger=null, SystemConfig $config=null, $normalizer = null) { + public function __construct($logger = null, SystemConfig $config = null, $normalizer = null) { // FIXME: Add this for backwards compatibility, should be fixed at some point probably if($config === null) { $config = \OC::$server->getSystemConfig(); |