From 4ec301214886d1802d672ca8998b85db1d21b3b2 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 29 Jan 2019 21:13:14 +0300 Subject: [PATCH] Fixing magnet redirection for anonymous users. --- config/packages/security.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 9e1b4e7..59fe6a9 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -48,4 +48,5 @@ security: - { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: /register/, roles: IS_AUTHENTICATED_ANONYMOUSLY } + - { path: /magnet/, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/, roles: ROLE_USER }