Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Control login problem


Guest

Recommended Posts

Posted

Hello, I installed the control login contribution

http://www.oscommerce.com/community/contributions,1154

I were using autologin contribution too.

 

The control login contribution seems to work fine. The users cant login before the account is activated in admin panel.

 

I also have install this patch in the index and product_info so users cant see products unless ther are loged in.

 

// if the customer is not logged on, redirect them to the login page

if (!tep_session_is_registered('customer_id')) {

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'NONSSL'));

}

 

 

The users cant see the catalog unless I activate the account, they cant login. But I discover that if they don't close the window when they are in create_account_success.php and if they click in CONTINUE or in HOME, they can see the catalog, it's like they were loged in without the activated account.

 

How can I resolve it? Can I paste some code to create_account_success.php so it works like logoff.php file and logoff the user ? Thanks a lot!

 

Hernán

Posted

Pleaseeee help

Shoul I copy this line: ?

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGOFF);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...