Compare commits
1 Commits
0c626ef23c
...
f0bebe781c
Author | SHA1 | Date | |
---|---|---|---|
f0bebe781c |
@ -6,6 +6,7 @@ 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;
|
||||||
@ -30,6 +31,11 @@ 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