miroir de
https://git.d3data.de/3rdParty/captcha-module.git
synchronisé 2025-07-05 15:45:01 +02:00
Basic changes made for smarty and base code
Cette révision appartient à :
21
Application/Controller/ForgotPasswordController.php
Fichier normal
21
Application/Controller/ForgotPasswordController.php
Fichier normal
@ -0,0 +1,21 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
Référencer dans un nouveau ticket
Bloquer un utilisateur