Skip to content

Commit

Permalink
[SecurityBundle] fix accepting env vars in remember-me configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
zek authored and nicolas-grekas committed Apr 18, 2020
1 parent 6cc58bb commit b4ca686
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions DependencyInjection/Security/Factory/RememberMeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ public function addConfiguration(NodeDefinition $node)
foreach ($this->options as $name => $value) {
if (\is_bool($value)) {
$builder->booleanNode($name)->defaultValue($value);
} elseif (\is_int($value)) {
$builder->integerNode($name)->defaultValue($value);
} else {
$builder->scalarNode($name)->defaultValue($value);
}
Expand Down

0 comments on commit b4ca686

Please sign in to comment.