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 }