Revert "Add 'AuthPluginStrict' log to identify users who are unable to authenticate"
authorLegoktm <legoktm.wikipedia@gmail.com>
Mon, 13 Jul 2015 23:07:02 +0000 (23:07 +0000)
committerLegoktm <legoktm.wikipedia@gmail.com>
Mon, 13 Jul 2015 23:07:02 +0000 (23:07 +0000)
Does not work as it will also log failed login attempts due
to a wrong password.

This reverts commit 9a97a7530f2a637cbb95603cfa4e0b51da753207.

Change-Id: I6abd19da4e6939315a7fe6f7debe5227b68d38a7

includes/User.php

index 772330b..95ac0f1 100644 (file)
@@ -4005,7 +4005,6 @@ class User implements IDBAccessObject {
                        return true;
                } elseif ( $wgAuth->strict() ) {
                        // Auth plugin doesn't allow local authentication
-                       wfDebugLog( 'AuthPluginStrict', "Authentication denied for {$this->getName()}" );
                        return false;
                } elseif ( $wgAuth->strictUserAuth( $this->getName() ) ) {
                        // Auth plugin doesn't allow local authentication for this user name