diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-16 23:19:13 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-16 23:19:13 +0200 |
commit | f8e05b67ff8f735f8a8b32553ae84633e2b57cec (patch) | |
tree | f804319cfb79b2b97c87028a722ed3fe29591855 /lib/User/database.php | |
parent | d376b4c90ab76785ad98ef0d888733543b06043e (diff) | |
parent | af40d872ce8b815afa2e8ace6db6fc544f12e42f (diff) | |
download | nextcloud-server-f8e05b67ff8f735f8a8b32553ae84633e2b57cec.tar.gz nextcloud-server-f8e05b67ff8f735f8a8b32553ae84633e2b57cec.zip |
Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring
Diffstat (limited to 'lib/User/database.php')
-rw-r--r-- | lib/User/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/User/database.php b/lib/User/database.php index d521cc23c42..f0b68cf17d7 100644 --- a/lib/User/database.php +++ b/lib/User/database.php @@ -71,7 +71,7 @@ class OC_USER_DATABASE extends OC_USER_BACKEND { * @param string $password The password of the user */ public static function login( $username, $password ){ - $query = OC_DB::prepare( "SELECT `uid`, `name` FROM `*PREFIX*users` WHERE `uid` = ? AND `password` = ?" ); + $query = OC_DB::prepare( "SELECT `uid` FROM `*PREFIX*users` WHERE `uid` = ? AND `password` = ?" ); $result = $query->execute( array( $username, sha1( $password ))); if( $result->numRows() > 0 ){ |