Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
craigh committed Jul 14, 2017
1 parent e4c13fb commit a655d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/system/ZAuthModule/Form/Type/ConfigType.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'help' => $options['translator']->__('This affects both passwords created during registration, as well as passwords modified by users or administrators. Enter an integer greater than zero.'),
'constraints' => [
new NotBlank(),
new GreaterThanOrEqual(['value' => 3]) // @todo
new GreaterThanOrEqual(['value' => 5])
]
])
->add(ZAuthConstant::MODVAR_HASH_METHOD, ChoiceType::class, [
Expand All @@ -51,7 +51,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'choices' => [
'SHA1' => 'sha1',
'SHA256' => 'sha256',
// @todo bcrypt
// add bcrypt #2842
]
])
->add(ZAuthConstant::MODVAR_PASSWORD_STRENGTH_METER_ENABLED, CheckboxType::class, [
Expand Down

0 comments on commit a655d05

Please sign in to comment.