From 898751bc7e6d544b60b7c8abfe9f53b83a8b50cb Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Thu, 28 Jun 2018 19:53:44 +0300 Subject: [PATCH] Registration access control bug fix. --- config/packages/security.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index c919848..177f987 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -49,4 +49,5 @@ security: - { path: ^/api/, roles: ROLE_USER } - { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY } + - { path: /register/, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/, roles: ROLE_USER }