From: Legoktm Date: Mon, 13 Jul 2015 23:07:02 +0000 (+0000) Subject: Revert "Add 'AuthPluginStrict' log to identify users who are unable to authenticate" X-Git-Tag: 1.31.0-rc.0~10782^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=4c528691e128da106785dd31fe6973726abbfbd8;p=lhc%2Fweb%2Fwiklou.git Revert "Add 'AuthPluginStrict' log to identify users who are unable to authenticate" Does not work as it will also log failed login attempts due to a wrong password. This reverts commit 9a97a7530f2a637cbb95603cfa4e0b51da753207. Change-Id: I6abd19da4e6939315a7fe6f7debe5227b68d38a7 --- diff --git a/includes/User.php b/includes/User.php index 772330bb26..95ac0f1ed1 100644 --- a/includes/User.php +++ b/includes/User.php @@ -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