From dcdc9473a4cc27951ebac9642ef42fe689dc4463 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 25 Jan 2007 09:48:24 +0000 Subject: =?UTF-8?q?Bugfix=20(vorl=C3=A4ufig,=20bis=20in=20MediaWiki=20beho?= =?UTF-8?q?ben)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/LLAuthPlugin.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'extensions') 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; } /** -- cgit v1.2.2