configured security.yaml

This commit is contained in:
Kevin Frantz 2018-09-06 16:12:55 +02:00
parent 917bc110e3
commit 7a859080e5

View File

@ -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: