Welcome Guest, Not a member yet? Register   Sign In
Issue with my 'Sign in' script
#3

[eluser]Bas Vermeulen[/eluser]
Hi, did you create the md5 check for the form validation lib?

The password send by post has to be a md5 string according to your form validation rules...? Do you use javascript for pre-post-encryption? Does the postdata really contain a md5 hashed pw? I think it does, because the error you get is from the model function which is only loaded if it passed your form validation. But then you do $this->db->where('password', md5($pw)); in your model. So if I'm correct you md5 hash the md5 hashed password? Looks like it returns 0 because the password in the database is hashed with a single md5? Try $this->db->where('password', $pw); does that work?


Messages In This Thread
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 12:29 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 01:26 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 01:58 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:07 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:13 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:32 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:44 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:53 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 02:56 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:02 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:04 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:15 PM
Issue with my 'Sign in' script - by El Forum - 10-05-2010, 03:17 PM
Issue with my 'Sign in' script - by El Forum - 10-06-2010, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB