PDA

View Full Version : Mail_Validation



michael_s
10-28-2008, 01:10 PM
the current version forces user to login again after registering even when mail_validation is turned off
in create_account_success.php,
//add this
if (EMAIL_VALIDATION=='true'){
//before tep_session_unregister('customer_id'); tep_session_unregister('customer_default_address_i d');
tep_session_unregister('customer_first_name');
tep_session_unregister('customer_country_id');
tep_session_unregister('customer_zone_id');
tep_session_unregister('comments');
//and add
}
//after

More... (http://addons.oscommerce.com/info/2151)