feat(redis): fix session.handler_id: remove '?'
Cadoles/hydra-sql/pipeline/pr-develop This commit is unstable Details
Cadoles/hydra-sql/pipeline/head This commit is unstable Details

This commit is contained in:
cmsassot 2023-12-14 15:22:08 +01:00
parent ea7d353be7
commit 11d4989316
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ framework:
# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:
handler_id: '%env(REDIS_DSN)%?prefix=%env(string:HYDRA_SQL_REDIS_PREFIX)%&ttl=%env(int:HYDRA_SQL_REDIS_TTL)%'
handler_id: '%env(REDIS_DSN)%&prefix=%env(string:HYDRA_SQL_REDIS_PREFIX)%&ttl=%env(HYDRA_SQL_REDIS_TTL)%'
cookie_secure: auto
cookie_samesite: lax
storage_factory_id: session.storage.factory.native

View File

@ -21,7 +21,7 @@ Elle permet de se connecter à une base de donnée et de vérifier un mot de pas
|`HASH_ALGO_LEGACY`|ALgorythme de Hashage par défaut|sha256||
|`SECURITY_PATTERN`|Séquence à employer pour le hashage du mot de passe|password,salt,pepper|obligatoire|
|`PEPPER`|Pepper utilisé pour le Hashage|||
|`REDIS_DSN`|DSN du serveur Redis|redis://redis:6379|obligatoire|
|`REDIS_DSN`|DSN du serveur Redis|redis://redis:6379?&redis_sentinel=mymaster|obligatoire|
### Algorithmes de hashage compatibles