Skip to content

Commit 377d37a

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Update Docker page with instructions for Mac users [Security] Fixing PHP example for limiting login attempts with rate limiter Fix heading capitalisation in dynamic_form_modification.rst
2 parents d5ebf91 + 6477e93 commit 377d37a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

form/dynamic_form_modification.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ how to customize your form based on three common use-cases:
99
Example: you have a "Product" form and need to modify/add/remove a field
1010
based on the data on the underlying Product being edited.
1111

12-
2) :ref:`How to dynamically Generate Forms Based on user Data <form-events-user-data>`
12+
2) :ref:`How to Dynamically Generate Forms Based on User Data <form-events-user-data>`
1313

1414
Example: you create a "Friend Message" form and need to build a drop-down
1515
that contains only users that are friends with the *current* authenticated
@@ -188,7 +188,7 @@ Great! Now use that in your form class::
188188

189189
.. _form-events-user-data:
190190

191-
How to dynamically Generate Forms Based on user Data
191+
How to Dynamically Generate Forms Based on User Data
192192
----------------------------------------------------
193193

194194
Sometimes you want a form to be generated dynamically based not only on data

security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ and set the ``limiter`` option to its service ID:
16391639
<!-- 2nd argument is the limiter for username+IP -->
16401640
<srv:argument type="service" id="limiter.username_ip_login"/>
16411641
<!-- 3rd argument is the app secret -->
1642-
<srv:argument type="service" id="%kernel.secret%"/>
1642+
<srv:argument type="string">%kernel.secret%</srv:argument>
16431643
</srv:service>
16441644
</srv:services>
16451645
@@ -1683,7 +1683,7 @@ and set the ``limiter`` option to its service ID:
16831683
// 2nd argument is the limiter for username+IP
16841684
new Reference('limiter.username_ip_login'),
16851685
// 3rd argument is the app secret
1686-
new Reference('kernel.secret'),
1686+
param('kernel.secret'),
16871687
]);
16881688
16891689
$security->firewall('main')

setup/docker.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,10 @@ If you're using the :ref:`symfony binary web server <symfony-local-web-server>`
5151
then it can automatically detect your Docker services and expose them as environment
5252
variables. See :ref:`symfony-server-docker`.
5353

54+
.. note::
55+
56+
macOS users need to explicitly allow the default Docker socket to be used
57+
for the Docker integration to work `as explained in the Docker documentation`_.
58+
5459
.. _`https://github.com/dunglas/symfony-docker`: https://github.com/dunglas/symfony-docker
60+
.. _`as explained in the Docker documentation`: https://docs.docker.com/desktop/mac/permission-requirements/

0 commit comments

Comments
 (0)