diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-08-15 14:13:00 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-08-15 18:52:13 +0400 |
commit | e7cea79ee7311c41c5f95082cba6e75e0236beac (patch) | |
tree | f46b249986f5a6b843f2edf0f9da3c6543889011 /lib/base.php | |
parent | 1a2bae347ad734a82d042eb34aeff3558962026e (diff) |
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 85049bb69c6..ed0830c1f72 100644 --- a/lib/base.php +++ b/lib/base.php @@ -842,13 +842,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)); |