summaryrefslogtreecommitdiff
path: root/extensions/LLAuthPlugin.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-01-25 09:48:24 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-01-25 09:48:24 +0000
commitdcdc9473a4cc27951ebac9642ef42fe689dc4463 (patch)
tree4509bf96558db1f9a02eeefef0f6abe8ef1e29d7 /extensions/LLAuthPlugin.php
parent9daeddb3b20333f929ebf18c78469f3579b4f570 (diff)
Bugfix (vorläufig, bis in MediaWiki behoben)
Diffstat (limited to 'extensions/LLAuthPlugin.php')
-rw-r--r--extensions/LLAuthPlugin.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/extensions/LLAuthPlugin.php b/extensions/LLAuthPlugin.php
index 86e4b799..0b69d2c9 100644
--- a/extensions/LLAuthPlugin.php
+++ b/extensions/LLAuthPlugin.php
@@ -169,19 +169,24 @@ class AuthPlugin {
* @return bool
*/
function allowPasswordChange() {
- return false;
+ return true;
}
/**
* Set the given password in the authentication database.
+ * As a special case, the password may be set to null to request
+ * locking the password to an unusable value, with the expectation
+ * that it will be set later through a mail reset or other method.
+ *
* Return true if successful.
*
+ * @param $user User object.
* @param $password String: password.
* @return bool
* @public
*/
function setPassword( $user, $password ) {
- return false;
+ return true;
}
/**