diff options
Diffstat (limited to 'includes/AuthPlugin.php')
-rw-r--r-- | includes/AuthPlugin.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/AuthPlugin.php b/includes/AuthPlugin.php index 1d955418..e33ef1bf 100644 --- a/includes/AuthPlugin.php +++ b/includes/AuthPlugin.php @@ -146,13 +146,18 @@ class AuthPlugin { /** * 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( $password ) { + function setPassword( $user, $password ) { return true; } |