Compare commits
1 Commits
f0bebe781c
...
0c626ef23c
Author | SHA1 | Date | |
---|---|---|---|
0c626ef23c |
@ -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)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user