captcha-module/Application/Controller/ForgotPasswordController.php

22 lines
438 B
PHP

<?php
declare(strict_types=1);
namespace OxidProfessionalServices\Captcha\Application\Controller;
use OxidProfessionalServices\Captcha\Application\Shared\Captcha;
class ForgotPasswordController extends ForgotPasswordController_parent
{
use Captcha;
public function forgotpassword()
{
if (!$this->getCaptcha()->passCaptcha()) {
return false;
}
return parent::forgotpassword();
}
}