From 61447ced4f2a900705d0a732206cae42a060a6b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sun, 7 Dec 2025 14:24:08 +0100 Subject: [PATCH] fix: enforce https --- config/packages/security.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 3b53efa..ac54dcf 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -32,7 +32,8 @@ security: # Easy way to control access for large sections of your site # Note: Only the *first* access control that matches will be used access_control: - - { path: ^/authorize, roles: IS_AUTHENTICATED_REMEMBERED } + - { path: ^/authorize, roles: IS_AUTHENTICATED_REMEMBERED, requires_channel: https } + - { path: '^/', roles: PUBLIC_ACCESS, requires_channel: https } when@test: security: