From 700ae4a161669531c9fbe0a02acbc8a2371f3b99 Mon Sep 17 00:00:00 2001 From: Fernando Aguirre Date: Mon, 21 Nov 2022 19:28:10 -0700 Subject: [PATCH] Update database.rst When Redis has user and password to login, the data must be entered as an array ['user', 'password'], added as comment --- session/database.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/session/database.rst b/session/database.rst index ba4642b7973..da2b6b070e1 100644 --- a/session/database.rst +++ b/session/database.rst @@ -50,6 +50,10 @@ First, define a Symfony service for the connection to the Redis server: # uncomment the following if your Redis server requires a password # - auth: # - '%env(REDIS_PASSWORD)%' + + # uncomment the following if your Redis server requires user and password (When user is not default) + # - auth: + # - ['%env(REDIS_USER)%','%env(REDIS_PASSWORD)%'] .. code-block:: xml