This commit is contained in:
2025-08-07 21:16:42 +02:00
parent f5dd06f0bc
commit 8c05aae2ab
128 changed files with 7270 additions and 10 deletions

View File

@@ -0,0 +1,31 @@
<?php
class AuthController extends AuthControllerCore
{
/*
* module: eicaptcha
* date: 2023-08-07 15:45:05
* version: 2.0.3
*/
public function initContent()
{
if ( Tools::isSubmit('submitCreate') ) {
Hook::exec('actionContactFormSubmitCaptcha');
if ( ! sizeof( $this->context->controller->errors ) ) {
parent::initContent();
} else {
$register_form = $this
->makeCustomerForm()
->setGuestAllowed(false)
->fillWith(Tools::getAllValues());
FrontController::initContent();
$this->context->smarty->assign([
'register_form' => $register_form->getProxy(),
'hook_create_account_top' => Hook::exec('displayCustomerAccountFormTop')
]);
$this->setTemplate('customer/registration');
}
} else {
parent::initContent();
}
}
}