mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2025-07-04 23:24:59 +02:00
Basic changes made for smarty and base code
This commit is contained in:
21
Application/Controller/InviteController.php
Normal file
21
Application/Controller/InviteController.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OxidProfessionalServices\Captcha\Application\Controller;
|
||||
|
||||
use OxidProfessionalServices\Captcha\Application\Shared\Captcha;
|
||||
|
||||
class InviteController extends InviteController_parent
|
||||
{
|
||||
use Captcha;
|
||||
|
||||
public function send()
|
||||
{
|
||||
if (!$this->getCaptcha()->passCaptcha()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::send();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user