Skip to content

Commit b774cb0

Browse files
authored
[Security] Minor fix
1 parent 24798fd commit b774cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/access_control.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ key:
301301
access_control:
302302
-
303303
path: ^/_internal/secure
304-
# the 'roles' and 'allow-if' options work like an OR expression, so
304+
# the 'roles' and 'allow_if' options work like an OR expression, so
305305
# access is granted if the expression is TRUE or the user has ROLE_ADMIN
306306
roles: 'ROLE_ADMIN'
307307
allow_if: "'127.0.0.1' == request.getClientIp() or request.headers.has('X-Secure-Access')"

0 commit comments

Comments
 (0)