When many people use destoon to build a B2B system, the error message "Data verification failed (2)" will appear when registering corporate users on the corporate website, which seriously affects the user's use. The solution is now announced as follows:
Enter module/member/register.inc.php from destoon’s backend
Found in register.inc.php file:
if($submit){
Put it down
if($action != crypt_action(‘register')) dalert($L['check_sign'].'(1)');
Comment out:
//if($action != crypt_action(‘register')) dalert($L['check_sign'].'(1)');
Find again
if($_SESSION['regemail'] != md5(md5($post['email'].DT_KEY.$DT_IP))) dalert($L['check_sign']);
Also comment out:
//if($_SESSION['regemail'] != md5(md5($post['email'].DT_KEY.$DT_IP))) dalert($L['check_sign'].'(2)');
At this point, the problem is solved.