mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2024-11-05 22:53:12 +01:00
24 lines
449 B
PHP
24 lines
449 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OxidProfessionalServices\Captcha\Application\Controller;
|
|
|
|
use OxidProfessionalServices\Captcha\Application\Shared\Captcha;
|
|
|
|
class DetailsController extends DetailsController_parent
|
|
{
|
|
use Captcha;
|
|
|
|
public function addme()
|
|
{
|
|
if (!$this->getCaptcha()->passCaptcha(false)) {
|
|
$this->_iPriceAlarmStatus = 2;
|
|
|
|
return;
|
|
}
|
|
|
|
return parent::addme();
|
|
}
|
|
}
|