Guest Posted May 6, 2008 Posted May 6, 2008 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 Quote
Guest Posted May 8, 2008 Posted May 8, 2008 (edited) Pleaseeee help Shoul I copy this line: ? require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGOFF); Edited May 8, 2008 by her_unlimited Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.