mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 20:35:08 +02:00
Show data for manual setup of the google authenticator.
This commit is contained in:
parent
25105ba7d4
commit
8c5cf6f9e0
2 changed files with 17 additions and 1 deletions
|
@ -20,7 +20,7 @@ class TFASettingsType extends AbstractType
|
|||
{
|
||||
$builder->add('google_confirmation', TextType::class, [
|
||||
'mapped' => false,
|
||||
'attr' => ['maxlength' => '6', 'minlength' => '6', 'pattern' => '\d*'],
|
||||
'attr' => ['maxlength' => '6', 'minlength' => '6', 'pattern' => '\d*', 'autocomplete' => 'off'],
|
||||
'constraints' => [new ValidGoogleAuthCode()]
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue