Skip to content

Commit

Permalink
SYL-220 - set payplug key as password
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGrimmChester committed Jun 24, 2024
1 parent 3025c7a commit 8f37c51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gateway/Form/Type/AbstractGatewayConfigurationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Sylius\Component\Core\Model\ChannelInterface;
use Sylius\Component\Resource\Repository\RepositoryInterface;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\FormError;
use Symfony\Component\Form\FormEvent;
Expand Down Expand Up @@ -58,7 +58,7 @@ public function __construct(
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$builder
->add('secretKey', TextType::class, [
->add('secretKey', PasswordType::class, [
'label' => 'payplug_sylius_payplug_plugin.ui.secret_key',
'validation_groups' => self::VALIDATION_GROUPS,
'constraints' => [
Expand Down

0 comments on commit 8f37c51

Please sign in to comment.