diff options
Diffstat (limited to 'extensions/LLAuthPlugin.php')
-rw-r--r-- | extensions/LLAuthPlugin.php | 9 |
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; } /** |