[-] Mobile : Bug fix : Authentication & phone number
This commit is contained in:
@@ -399,7 +399,7 @@ class AuthControllerCore extends FrontController
|
||||
if (!Tools::getValue('phone') && !Tools::getValue('phone_mobile'))
|
||||
$error_phone = true;
|
||||
}
|
||||
elseif (((Configuration::get('PS_REGISTRATION_PROCESS_TYPE') || Configuration::get('PS_ORDER_PROCESS_TYPE'))
|
||||
elseif (((Configuration::get('PS_REGISTRATION_PROCESS_TYPE') && Configuration::get('PS_ORDER_PROCESS_TYPE'))
|
||||
|| (Configuration::get('PS_ORDER_PROCESS_TYPE') && !Tools::getValue('email_create')))
|
||||
&& (!Tools::getValue('phone') && !Tools::getValue('phone_mobile')))
|
||||
$error_phone = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="account-creation_form" class="std">
|
||||
<form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="account-creation_form" class="std" data-ajax="false">
|
||||
{$HOOK_CREATE_ACCOUNT_TOP}
|
||||
<fieldset class="account_creation">
|
||||
<h3>{l s='Your personal information'}</h3>
|
||||
|
||||
Reference in New Issue
Block a user