File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 1+ <?php 
2+ 
3+ declare (strict_types=1 );
4+ 
5+ use  Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
6+ 
7+ return  static  function  (ContainerConfigurator $ containerConfiguratorvoid  {
8+     $ containerConfiguratorextension ('framework ' , [
9+         'csrf_protection '  => [
10+             'check_header '  => true ,
11+         ],
12+     ]);
13+ };
Original file line number Diff line number Diff line change 22    "bundles" : {
33        "Symfony\\ UX\\ Turbo\\ TurboBundle" : [" all" 
44    },
5+     "copy-from-recipe" : {
6+         "config/" : " %CONFIG_DIR%/" 
7+     },
58    "aliases" : [" turbo" 
69    "conflict" : {
710        "symfony/framework-bundle" : " <7.2" 
811        "symfony/security-csrf" : " <7.2" 
9-     },
10-     "add-lines" : [
11-         {
12-             "file" : " config/packages/csrf.yaml" 
13-             "position" : " after_target" 
14-             "target" : "     csrf_protection:" 
15-             "content" : "         check_header: true" 
16-         }
17-     ]
12+     }
1813}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments