From b09e4716ec61bba1e3ecde0052c67e9e0d14e6df Mon Sep 17 00:00:00 2001 From: Igor V Belousov <igor@belousovv.ru> Date: Sat, 22 Jun 2019 16:05:47 +0300 Subject: [PATCH] fix symfony security algorithm --- config/packages/security.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 7ff2843..f478af6 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -1,7 +1,7 @@ security: encoders: App\Entity\User: - algorithm: argon2i + algorithm: sodium # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: @@ -31,5 +31,5 @@ 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: ^/admin/*, roles: ROLE_ADMIN } + - { path: ^/admin, roles: ROLE_ADMIN } # - { path: ^/profile, roles: ROLE_USER }