diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-05-17 00:57:43 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-05-17 00:57:43 +0200 |
commit | 5fe7200a7ff7360b33e7c762f1406bcb4c9b6a5c (patch) | |
tree | 08239e04f3769e3b557dab265905cad775be3e9b /lib/user.php | |
parent | 2c99924f7d2a98c61920de837272d9cff1a33876 (diff) | |
download | nextcloud-server-5fe7200a7ff7360b33e7c762f1406bcb4c9b6a5c.tar.gz nextcloud-server-5fe7200a7ff7360b33e7c762f1406bcb4c9b6a5c.zip |
update documentation of oc_user::checkpassword
Diffstat (limited to 'lib/user.php')
-rw-r--r-- | lib/user.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php index e409fe4e501..056d1307543 100644 --- a/lib/user.php +++ b/lib/user.php @@ -304,9 +304,10 @@ class OC_User { * @brief Check if the password is correct * @param $uid The username * @param $password The password - * @returns true/false + * @returns string * * Check if the password is correct without logging in the user + * returns the user id or false */ public static function checkPassword( $uid, $password ){ foreach(self::$_usedBackends as $backend){ |