8000 Update the security reference because user providers are no longer ma… · symfony/symfony-docs@6be7971 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6be7971

Browse files
committed
Update the security reference because user providers are no longer mandatory
1 parent 2c01e73 commit 6be7971

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