Remove security.yaml change when disabling localized URLs

I think we don't need to change the actual `sylius.security.shop_regex`.
This commit is contained in:
Maxime Huran 2021-01-05 14:19:51 +01:00 committed by Łukasz Chruściel
parent 84bc5dd088
commit c208f80c61
No known key found for this signature in database
GPG key ID: 049A1D51AA3B039C

View file

@ -41,29 +41,7 @@ With:
sylius_shop_payum:
resource: "@SyliusShopBundle/Resources/config/routing/payum.yml"
**2.** Customise the security settings in the ``config/packages/security.yaml``.
Replace:
.. code-block:: yaml
# config/packages/security.yaml
parameters:
# ...
sylius.security.shop_regex: "^/(?!admin|api/.*|api$|media/.*)[^/]++"
With:
.. code-block:: yaml
# config/packages/security.yaml
parameters:
# ...
sylius.security.shop_regex: "^"
**3.** Customise SyliusShopBundle to use storage-based locale switching in the ``config/packages/_sylius.yaml``.
**2.** Customise SyliusShopBundle to use storage-based locale switching in the ``config/packages/_sylius.yaml``.
Replace :