Fixed bugs came with 2.1 BETA3 upgrade

ForumPostType had a hidden field with a DateTime data, which could not
be rendered
Security authentication success handler could not run
This commit is contained in:
Polonkai Gergely
2012-07-17 07:52:24 +02:00
parent 8d4c9bc5bc
commit aa453242df
3 changed files with 12 additions and 5 deletions

View File

@@ -17,10 +17,6 @@ class ForumPostType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('createdAt', 'hidden', array(
'label' => 'Időpont',
'data' => new \DateTime('now')
));
$builder->add('text', null, array(
'label' => ' ',
));