fix symfony security algorithm

Этот коммит содержится в:
Igor V Belousov 2019-06-22 16:05:47 +03:00
родитель 6d282daa30
Коммит b09e4716ec

Просмотреть файл

@ -1,7 +1,7 @@
security: security:
encoders: encoders:
App\Entity\User: App\Entity\User:
algorithm: argon2i algorithm: sodium
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
providers: providers:
@ -31,5 +31,5 @@ security:
# Easy way to control access for large sections of your site # Easy way to control access for large sections of your site
# Note: Only the *first* access control that matches will be used # Note: Only the *first* access control that matches will be used
access_control: access_control:
- { path: ^/admin/*, roles: ROLE_ADMIN } - { path: ^/admin, roles: ROLE_ADMIN }
# - { path: ^/profile, roles: ROLE_USER } # - { path: ^/profile, roles: ROLE_USER }