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 323
323
// the 'role' and 'allow-if' options work like an OR expression, so
324
324
// access is granted if the expression is TRUE or the user has ROLE_ADMIN
325
325
'roles' => 'ROLE_ADMIN',
326
- 'allow_if' => '"127.0.0.1" == request.getClientIp() or request.headers.has(' X-Secure-Access' )',
326
+ 'allow_if' => '"127.0.0.1" == request.getClientIp() or request.headers.has(" X-Secure-Access" )',
327
327
],
328
328
],
329
329
]);
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