Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Jun 15, 2017
1 parent e96aaf0 commit 7a97e37
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ public function buildForm(FormBuilderInterface $builder, array $options)
{
$action = $this->router->generate('ss_registration_gssf_authenticate', ['provider' => $options['provider']]);
/** @var ViewConfig $secondFactorConfig */
$buttonLabelValue = $options['label'];
$builder
->add('submit', 'submit', [
'attr' => ['class' => 'btn btn-primary'],
/** @Ignore from translation message extraction */
'label' => $buttonLabelValue
'label' => $options['label']
])
->setAction($action);
}
Expand Down

0 comments on commit 7a97e37

Please sign in to comment.