Skip to content

Commit 730dbb8

Browse files
[Config] Complete security encoder in full default configuration
Added bcrypt and plaintext encoder
1 parent 4b9a885 commit 730dbb8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

reference/configuration/security.rst

+12
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ Each part will be explained in the next section.
6868
Acme\DemoBundle\Entity\User3:
6969
id: my.encoder.id
7070
71+
# BCrypt encoder
72+
# see the note about bcrypt below for details on specific dependencies
73+
Acme\DemoBundle\Entity\User4:
74+
algorithm: bcrypt
75+
cost: 13
76+
77+
# Plaintext encoder
78+
# it does not do any encoding
79+
Acme\DemoBundle\Entity\User5:
80+
algorithm: plaintext
81+
ignore_case: false
82+
7183
providers: # Required
7284
# Examples:
7385
my_in_memory_provider:

0 commit comments

Comments
 (0)