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 }