From 7a859080e5521fb4932927f11f3804b5a8700a4d Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Thu, 6 Sep 2018 16:12:55 +0200 Subject: [PATCH] configured security.yaml --- application/config/packages/security.yaml | 7 +++++++ 1 file changed, 7 insertions(+) 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: