File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 337337 // the 'role' and 'allow-if' options work like an OR expression, so
338338 // access is granted if the expression is TRUE or the user has ROLE_ADMIN
339339 'roles' => 'ROLE_ADMIN',
340- 'allow_if' => '"127.0.0.1" == request.getClientIp() or request.headers.has(' X-Secure-Access' )',
340+ 'allow_if' => '"127.0.0.1" == request.getClientIp() or request.headers.has(" X-Secure-Access" )',
341341 ],
342342 ],
343343 ]);
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ configure it under your firewall:
5151 <!-- config/packages/security.xml -->
5252 <config >
5353 <firewall name =" main" >
54- <access_denied_handler >App\Security\AccessDeniedHandler</access_denied_handler >
54+ <access-denied-handler >App\Security\AccessDeniedHandler</access-denied-handler >
5555 </firewall >
5656 </config >
5757
You can’t perform that action at this time.
0 commit comments