8000 minor #9828 Update the security reference because user providers are … · symfony/symfony-docs@ced5949 · GitHub
[go: up one dir, main page]

Skip to content

Commit ced5949

Browse files
committed
minor #9828 Update the security reference because user providers are no longer mandatory (javiereguiluz)
This PR was merged into the 4.1 branch. Discussion ---------- Update the security reference because user providers are no longer mandatory This fixes #9660. Commits ------- 6be7971 Update the security reference because user providers are no longer mandatory
2 parents 944e534 + 6be7971 commit ced5949

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reference/configuration/security.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Each part will be explained in the next section.
7272
time_cost: 2 # Number of iterations
7373
threads: 2 # Number of parallel threads
7474
75-
providers: # Required
75+
providers:
7676
# Examples:
7777
my_in_memory_provider:
7878
memory:
@@ -301,6 +301,9 @@ Each part will be explained in the next section.
301301
ROLE_ADMIN: [ROLE_ORGANIZER, ROLE_USER]
302302
ROLE_SUPERADMIN: [ROLE_ADMIN]
303303
304+
.. versionadded:: 4.1
305+
The ``providers`` option is optional starting from Symfony 4.1.
306+
304307
.. _reference-security-firewall-form-login:
305308

306309
Form Login Configuration

0 commit comments

Comments
 (0)
0