File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Bundle/SecurityBundle/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ public function getConfigTreeBuilder()
59
59
$ rootNode
60
60
->children ()
61
61
->scalarNode ('access_denied_url ' )->defaultNull ()->example ('/foo/error403 ' )->end ()
62
- ->scalarNode ('session_fixation_strategy ' )->cannotBeEmpty ()->info ( ' strategy can be: none, migrate, invalidate ' )->defaultValue ('migrate ' )->end ()
62
+ ->enumNode ('session_fixation_strategy ' )->cannotBeEmpty ()->values ( array ( ' none ' , ' migrate ' , ' invalidate ') )->defaultValue ('migrate ' )->end ()
63
63
->booleanNode ('hide_user_not_found ' )->defaultTrue ()->end ()
64
64
->booleanNode ('always_authenticate_before_granting ' )->defaultFalse ()->end ()
65
65
->booleanNode ('erase_credentials ' )->defaultTrue ()->end ()
66
66
->arrayNode ('access_decision_manager ' )
67
67
->addDefaultsIfNotSet ()
68
68
->children ()
69
- ->scalarNode ('strategy ' )->defaultValue ('affirmative ' )->end ()
69
+ ->enumNode ('strategy ' )-> values ( array ( ' affirmative ' , ' consensus ' , ' unanimous ' ) )->defaultValue ('affirmative ' )->end ()
70
70
->booleanNode ('allow_if_all_abstain ' )->defaultFalse ()->end ()
71
71
->booleanNode ('allow_if_equal_granted_denied ' )->defaultTrue ()->end ()
72
72
->end ()
You can’t perform that action at this time.
0 commit comments