View Single Post
  #23  
Old 04-18-2014, 12:23 AM
  random's Avatar 
random random is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 79
 

Default Re: Two-Factor Authentication module released

Quote:
Originally Posted by fitnessmarket.com.au
There are errors in the install file x-two-factor-auth.sql...

The international dialing codes for several countries are incorrect.

The international dialing code for "AU" (Australia) is 61 (not 672 which is Antarctica!)

Thanks for reporting the issue. We've found out that the codes for Great Britain and Ireland are also wrong.
Please apply the attached patch AFTER installation of the Two-factor authentication module.
To do this, open the Patch/Upgrade center and copy-paste the following lines to SQL patch section:

Code:
UPDATE `xcart_twofactor_dialing_codes` SET `code` = 61 WHERE `country` = 'AU'; UPDATE `xcart_twofactor_dialing_codes` SET `code` = 353 WHERE `country` = 'IE'; INSERT INTO `xcart_twofactor_dialing_codes` VALUES ('GB',44);
__________________
Sincerely yours,
Vladimir Petrov
Senior X-Payments Developer
Reply With Quote