diff --git a/.env b/.env index eb30919784bcdaddaf95d9aa8992ae45f7aeb7a8..c5270338ff8d661bf71d14bf1cf999d03080a095 100644 --- a/.env +++ b/.env @@ -27,7 +27,7 @@ MESSENGER_TRANSPORT_DSN=sync:// # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4" # DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4" -DATABASE_URL="mysql://root:root@db_docker_symfony:3306/wishlist?serverVersion=8.0" +DATABASE_URL="mysql://root:hamma@localhost:3306/wishlist?serverVersion=8.0" ###< doctrine/doctrine-bundle ### APP_SECRET=3d9f431b0fd768e0cb2e8b139c66e9fd67ecbd49762f6a345d459e2f115f61b4 diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 15d722412a1ff3476459f29ad783a369960bd233..8e91c37ab2de1dc9c08e7521726501b74570bb01 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -26,7 +26,6 @@ security: access_control: - { path: ^/admin, allow_if: "user and user.isAdmin() == true" } - - { path: ^/*, allow_if: "user and user.isLocked() != true" } when@test: security: