07-14-2009, 04:29 AM
[eluser]timaksu[/eluser]
hey guys..for the password field i have this:
it technically does what its supposed to until i try to repopulate the form(say, when the passwords don't match). instead of repopulating it with the previously entered password, it uses the sha1'ed version of the password string instead.
hey guys..for the password field i have this:
Code:
$rules['password'] = "trim|required|min_length[6]|matches[passconf]|sha1";
it technically does what its supposed to until i try to repopulate the form(say, when the passwords don't match). instead of repopulating it with the previously entered password, it uses the sha1'ed version of the password string instead.