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 337
337
// the 'role' and 'allow-if' options work like an OR expression, so
338
338
// access is granted if the expression is TRUE or the user has ROLE_ADMIN
339
339
'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" )',
341
341
],
342
342
],
343
343
]);
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ configure it under your firewall:
51
51
<!-- config/packages/security.xml -->
52
52
<config >
53
53
<firewall name =" main" >
54
- <access_denied_handler >App\Security\AccessDeniedHandler</access_denied_handler >
54
+ <access-denied-handler >App\Security\AccessDeniedHandler</access-denied-handler >
55
55
</firewall >
56
56
</config >
57
57
You can’t perform that action at this time.
0 commit comments