diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-27 07:43:02 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-27 07:43:02 +0000 |
commit | e0fa17f8cc0138a166b08168a54632cd8c806a1a (patch) | |
tree | 035b7c7e6a1d6d661e70e2100a26ff16057ca2ab /lib/class/user.class.php | |
parent | d6e50fd701008d2b8cfa5ecb827ae0880c91b500 (diff) | |
download | ampache-e0fa17f8cc0138a166b08168a54632cd8c806a1a.tar.gz ampache-e0fa17f8cc0138a166b08168a54632cd8c806a1a.tar.bz2 ampache-e0fa17f8cc0138a166b08168a54632cd8c806a1a.zip |
new http auth method
Diffstat (limited to 'lib/class/user.class.php')
-rw-r--r-- | lib/class/user.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/class/user.class.php b/lib/class/user.class.php index 490a1b88..66eb088e 100644 --- a/lib/class/user.class.php +++ b/lib/class/user.class.php @@ -55,6 +55,9 @@ class User { $this->username = sql_escape($username); $info = $this->_get_info(); + + if (!count($info)) { return false; } + $this->id = $this->username; $this->uid = $info->id; $this->username = $info->username; |