wanaka
|
| Posted: 04/26/2002, 8:40 AM |
|
I just tried out the codecharge studio. I use the codecharge studio to generate a login page. But for the password field because I store the password in encrypted format in the database I always get an incorrect message when I use the generated login page from codecharge studio although the password is indeed correct. Usually I will modify this part of the code of codecharge to get it working.
$sPassword = md5(get_param("Password"));
May I know in codecharge studio how could I do the same thing?
|
|
|
 |
Nicole
|
| Posted: 04/29/2002, 3:11 AM |
|
Hello,
it could be done:
- in Validation event of password field. Add custom code like:
global $Login_form_name
$Login_form_name->password_field_name->SetValue(md5($Login_form_name->password_field_name->Value));
- or in CCLoginUser() function directly in common.php file.
|
|
|
 |
|