stevennickelby Posted August 25, 2006 Share Posted August 25, 2006 Hello!, I'm attempting to make the log in fields in login.php so that... If a customer has both an Account and an Affiliate Account they can log into both with just the 2 fields? Is this correct? <?php echo tep_draw_input_field('email_address' . 'affiliate_username'); ?> <?php echo tep_draw_password_field('password' . 'affiliate_password'); ?> The original was.... <?php echo tep_draw_input_field('email_address'); ?> <?php echo tep_draw_password_field('password'); ?> with the changed one, if the customer has both a normal account and an affiliate account and they log in, with the correct details it comes up with wrong email or password entered? I don't know why? so I tried this to test it - incase it was something else and not the tep_draw fields... <?php echo tep_draw_password_field('password'); ?> <?php echo tep_draw_password_field('affiliate_password'); ?> <?php echo tep_draw_input_field('email_address'); ?> <?php echo tep_draw_input_field('affiliate_username'); ?> and these work fine, hence - if a customer enters there details through fields "password & email_address" they will log into thier account, and -if a customer enters there details through fields "affiliate_username & affiliate_password they will log into their affiliate account. Instead of having 4 fields how can it be so that there is only 2 fields... <?php echo tep_draw_input_field('email_address' . 'affiliate_username'); ?> <?php echo tep_draw_password_field('password' . 'affiliate_password'); ?> ???? come one guys! Link to comment Share on other sites More sharing options...
stevennickelby Posted August 26, 2006 Author Share Posted August 26, 2006 ?? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.