OKAY, so I'm responding to this many moons later.
If you are using 1.3.7 (or earlier), try this:
in the init_customer_auth.php file,
Update line 104 by adding , FILENAME_PASSWORD_FORGOTTEN
Example:
line 99-111 now reads as follows:
PHP Code:
switch (true) {
case (CUSTOMERS_APPROVAL_AUTHORIZATION == '1' and $_SESSION['customer_id'] == ''):
/**
* customer must be logged in to browse
*/
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_CREATE_ACCOUNT, FILENAME_PASSWORD_FORGOTTEN))) {
if (!isset($_GET['set_session_login'])) {
$_GET['set_session_login'] = 'true';
$_SESSION['navigation']->set_snapshot();
}
zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));
}
break;
reason I'm answering this thread, is because a new client is using 1.3.7 and I had this problem. I believe it does not exist on 1.3.8.
My post may be of use to someone....
[EDIT]
PS: you can also put in Contact Us...
PHP Code:
if (!in_array($_GET['main_page'], array(FILENAME_LOGIN, FILENAME_CREATE_ACCOUNT, FILENAME_PASSWORD_FORGOTTEN, FILENAME_CONTACT_US))) {
Bookmarks