mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-10-10 17:58:07 +02:00
configured security.yaml
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
security:
|
security:
|
||||||
# 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
|
||||||
|
encoders:
|
||||||
|
App\Entity\User:
|
||||||
|
algorithm: bcrypt
|
||||||
providers:
|
providers:
|
||||||
|
our_db_provider:
|
||||||
|
entity:
|
||||||
|
class: App\Entity\User
|
||||||
|
property: username
|
||||||
in_memory: { memory: ~ }
|
in_memory: { memory: ~ }
|
||||||
firewalls:
|
firewalls:
|
||||||
dev:
|
dev:
|
||||||
|
Reference in New Issue
Block a user