disallow embedded line breaks in ISBNs; allowing them breaks things in a most interes...
[lhc/web/wiklou.git] / includes / AuthPlugin.php
index 070fad9..cf06e42 100644 (file)
@@ -135,15 +135,25 @@ class AuthPlugin {
                return false;
        }
 
+       /**
+        * Can users change their passwords?
+        *
+        * @return bool
+        */
+       function allowPasswordChange() {
+               return true;
+       }
+
        /**
         * Set the given password in the authentication database.
         * Return true if successful.
         *
+        * @param $user User object.
         * @param $password String: password.
         * @return bool
         * @public
         */
-       function setPassword( $password ) {
+       function setPassword( $user, $password ) {
                return true;
        }