fix symfony security algorithm
Этот коммит содержится в:
родитель
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 }
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user