Browse Source
Don't log LDAP password when server is not available
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/6329/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
9 additions and
3 deletions
-
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(); |
|
|
|
|