File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1515use Symfony \Component \Config \Definition \Builder \TreeBuilder ;
1616use Symfony \Component \Config \Definition \Builder \ArrayNodeDefinition ;
1717use Symfony \Component \Config \Definition \ConfigurationInterface ;
18+ use Symfony \Component \Security \Http \Session \SessionAuthenticationStrategy ;
1819
1920/**
2021 * This class contains the configuration information.
@@ -59,7 +60,10 @@ public function getConfigTreeBuilder()
5960 $ rootNode
6061 ->children ()
6162 ->scalarNode ('access_denied_url ' )->defaultNull ()->example ('/foo/error403 ' )->end ()
62- ->enumNode ('session_fixation_strategy ' )->cannotBeEmpty ()->values (array ('none ' , 'migrate ' , 'invalidate ' ))->defaultValue ('migrate ' )->end ()
63+ ->enumNode ('session_fixation_strategy ' )
64+ ->values (array (SessionAuthenticationStrategy::NONE , SessionAuthenticationStrategy::MIGRATE , SessionAuthenticationStrategy::INVALIDATE ))
65+ ->defaultValue (SessionAuthenticationStrategy::MIGRATE )
66+ ->end ()
6367 ->booleanNode ('hide_user_not_found ' )->defaultTrue ()->end ()
6468 ->booleanNode ('always_authenticate_before_granting ' )->defaultFalse ()->end ()
6569 ->booleanNode ('erase_credentials ' )->defaultTrue ()->end ()
You can’t perform that action at this time.
0 commit comments