Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]Swedie[/eluser]
In flexi_auth_model on line 927:
return $this->db->where($this->auth->tbl_col_user_account['username'], $username)
->count_all_results($this->auth->tbl_user_account) == 0;

This function returns a bolean false if the username is not following A-Z only. I accidentally had a ? (question mark). So it returns a bolean false, not a 0 (result count) vaue.

btw, I am calling this model outside of the demo admin area and the $this->flexi_auth_model->status_messages('public', FALSE, FALSE) function returns nothing.


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 03-18-2013, 12:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB