mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
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:
parent
84bc5dd088
commit
c208f80c61
1 changed files with 1 additions and 23 deletions
|
|
@ -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 :
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue