Skip to content
Snippets Groups Projects
Unverified Commit b68609d0 authored by Joas Schilling's avatar Joas Schilling
Browse files

Don't log LDAP password when server is not available

parent 6f7d2008
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment