Fix login stuff

This commit is contained in:
Eike Foken
2011-08-11 17:17:13 +02:00
parent 1e4adc74fb
commit 808faf8e1a
9 changed files with 352 additions and 290 deletions

View File

@@ -367,7 +367,7 @@ class User extends CI_Model {
public function getUserByEmail($email) {
$this->db->where('users.email', $email);
$this->db->limit(1);
return $this->get();
return $this->get()->row_array();
}
/**