diff --git a/application/config/packages/security.yaml b/application/config/packages/security.yaml index fb4c593..b1e3aba 100644 --- a/application/config/packages/security.yaml +++ b/application/config/packages/security.yaml @@ -1,6 +1,13 @@ security: # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers + encoders: + App\Entity\User: + algorithm: bcrypt providers: + our_db_provider: + entity: + class: App\Entity\User + property: username in_memory: { memory: ~ } firewalls: dev: