diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-15 12:13:00 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-15 12:13:00 +0200 |
commit | 5bb477285863c09af8af3c61e705aed6b2c53901 (patch) | |
tree | 8acdb89dbd7a464c24ef1a786f0c414056a985e7 /lib/base.php | |
parent | 93f5e90c9f92e165b159bfffc80820863c55654c (diff) | |
download | nextcloud-server-5bb477285863c09af8af3c61e705aed6b2c53901.tar.gz nextcloud-server-5bb477285863c09af8af3c61e705aed6b2c53901.zip |
Move authentication failed logging to checkPassword
Fixes https://github.com/owncloud/core/issues/10366
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/base.php b/lib/base.php index ab1d8e98231..219e8ab8b47 100644 --- a/lib/base.php +++ b/lib/base.php @@ -856,13 +856,6 @@ class OC { } // logon via web form elseif (OC::tryFormLogin()) { $error[] = 'invalidpassword'; - if ( OC_Config::getValue('log_authfailip', false) ) { - OC_Log::write('core', 'Login failed: user \''.$_POST["user"].'\' , wrong password, IP:'.$_SERVER['REMOTE_ADDR'], - OC_Log::WARN); - } else { - OC_Log::write('core', 'Login failed: user \''.$_POST["user"].'\' , wrong password, IP:set log_authfailip=true in conf', - OC_Log::WARN); - } } OC_Util::displayLoginPage(array_unique($error)); |