diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index ea5adbadc9d..052444271c3 100644 --- a/lib/base.php +++ b/lib/base.php @@ -730,6 +730,8 @@ class OC { // Someone wants to log in : } elseif (OC::tryFormLogin()) { $error[] = 'invalidpassword'; + OC_Log::write('core', 'Login failed: user \''.$_POST["user"].'\' , wrong password, IP:'.$_SERVER['REMOTE_ADDR'], + OC_Log::ERROR); } OC_Util::displayLoginPage(array_unique($error)); |