Compare commits

..

1 Commits

Author SHA1 Message Date
0c626ef23c feat(altcha): add altcha validation layer to login
Some checks reported warnings
Cadoles/hydra-sql/pipeline/pr-develop This commit was not built
2025-04-10 14:48:07 +02:00

View File

@ -6,7 +6,6 @@ use App\Altcha\Form\AltchaType;
use App\Flag\FlagAccessor; use App\Flag\FlagAccessor;
use App\Flag\FlagEnum; use App\Flag\FlagEnum;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
@ -31,11 +30,6 @@ class LoginType extends AbstractType
'translation_domain' => 'form', 'translation_domain' => 'form',
'label' => 'form.label.password', 'label' => 'form.label.password',
]) ])
->add('_remember_me', CheckboxType::class, [
'required' => false,
'translation_domain' => 'form',
'label' => 'form.label.remember_me',
])
; ;
if ($this->flagAccessor->isFlagEnabled(FlagEnum::Altcha, $this->altchaEnabled)) { if ($this->flagAccessor->isFlagEnabled(FlagEnum::Altcha, $this->altchaEnabled)) {