Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6be7971

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

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎reference/configuration/security.rst

Copy file name to clipboardExpand all lines: reference/configuration/security.rst
+4-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.