Merge "Add support for FormData in mw.Api.upload"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 13 Jul 2015 17:51:48 +0000 (17:51 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 13 Jul 2015 17:51:48 +0000 (17:51 +0000)
includes/User.php

index 95ac0f1..772330b 100644 (file)
@@ -4005,6 +4005,7 @@ 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