Skip to content

Commit

Permalink
[User] Allow an empty value on the enabled field.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Sep 16, 2015
1 parent 082a9e1 commit 8cff7e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Clastic/UserBundle/Form/Type/UserFormType.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ private function createGeneralTab(FormBuilderInterface $builder)
->add('enabled', 'checkbox', array(
'value' => true,
'label' => 'user.form.tab.general.field.enabled',
'required' => false,
));
}

Expand Down

0 comments on commit 8cff7e7

Please sign in to comment.