Welcome Guest, Not a member yet? Register   Sign In
[Solved] Cannot login with model my login function

(07-19-2016, 04:43 PM)InsiteFX Wrote: Try the below and see if it works, the hash needs to be within single quotes ''

PHP Code:
public function secure_password($username)
   $this->db->from($this->db->dbprefix 'customer');
   $query $this->db->get();

   $row $query->row_array();

   return $row['password'];

I have found the issue.

When the password has was inserted into the database there was a extra blank space been added.

I have now fixed that that was the issue.

Thank you all for help
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!

Messages In This Thread
RE: Cannot login with model my login function - by wolfgang1983 - 07-19-2016, 06:09 PM

Theme © iAndrew 2016 - Forum software by © MyBB