Configure database sessions

This commit is contained in:
2024-07-03 11:03:13 +02:00
parent 1a5ba16ef9
commit 096d35d5cf
23 changed files with 1008 additions and 24 deletions

View File

@@ -9,7 +9,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: null
handler_id: '%env(resolve:DATABASE_URL)%'
cookie_secure: auto
cookie_samesite: lax

4
config/packages/uid.yaml Normal file
View File

@@ -0,0 +1,4 @@
framework:
uid:
default_uuid_version: 7
time_based_uuid_version: 7