Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cd2601

Browse files
committed
minor #17453 [Session] Update database.rst (ingfdoaguirre)
This PR was submitted for the 6.1 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Session] Update database.rst When Redis has user and password to login, the data must be entered as an array ['user', 'password'], added as comment <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 700ae4a Update database.rst
2 parents b6ccd75 + 700ae4a commit 3cd2601

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

session/database.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ First, define a Symfony service for the connection to the Redis server:
5050
# uncomment the following if your Redis server requires a password
5151
# - auth:
5252
# - '%env(REDIS_PASSWORD)%'
53+
54+
# uncomment the following if your Redis server requires user and password (When user is not default)
55+
# - auth:
56+
# - ['%env(REDIS_USER)%','%env(REDIS_PASSWORD)%']
5357
5458
.. code-block:: xml
5559

0 commit comments

Comments
 (0)