Skip to content

Commit 8733305

Browse files
authored
Update form_login_setup.rst
access_control property "role" to "roles" in the php security file to fit convention
1 parent 524c70f commit 8733305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/form_login_setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Edit the security.yml file in order to allow access to the ``/login`` route:
111111
'access_control' => [
112112
[
113113
'path' => '^/login',
114-
'role' => 'IS_AUTHENTICATED_ANONYMOUSLY',
114+
'roles' => 'IS_AUTHENTICATED_ANONYMOUSLY',
115115
],
116116
// ...
117117
],

0 commit comments

Comments
 (0)