Knowledgebase
When a user has a password that is the same as their username the login hangs on the One Page Checkout
Posted by - NA - on 01 December 2010 10:49 AM
This is caused by the JavaScript code that displays the "user and password are the same" warning to the customer. To prevent this from happening on the AJAX login make this change:

include/login.php

Find this code near line 270:


$default_accounts = func_check_default_passwords($login);


After insert:


// Checkout One :: www.alteredcart.com //
if ($active_modules['Checkout_One'] && $ajax_headers)
unset($default_accounts);
// End Checkout One //



Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: