Skip to content

Commit 914db63

Browse files
Update database.rst
When Redis has user and password to login, the data must be entered as an array ['user', 'password'], added as comment
1 parent abbc215 commit 914db63

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)