Tweak for r29561: don't grab a database object until we need it
[lhc/web/wiklou.git] / includes / AuthPlugin.php
index 87a7943..a3d0837 100644 (file)
@@ -210,6 +210,18 @@ class AuthPlugin {
                return false;
        }
 
+       /**
+        * Check if a user should authenticate locally if the global authentication fails.
+        * If either this or strict() returns true, local authentication is not used.
+        *
+        * @param $username String: username.
+        * @return bool
+        * @public
+        */
+       function strictUserAuth( $username ) {
+               return false;
+       }
+
        /**
         * When creating a user account, optionally fill in preferences and such.
         * For instance, you might pull the email address or real name from the