Store sessions in database (#1736)

This commit is contained in:
Kevin Papst
2020-06-11 16:54:51 +02:00
committed by GitHub
parent a75bdc52f6
commit ea4e930cbb
23 changed files with 507 additions and 20 deletions

View File

@@ -104,6 +104,11 @@ services:
tags:
- { name: doctrine.event_listener, event: postConnect }
# store and retrieve sessions in and from database
App\Security\SessionHandler:
arguments:
- !service { class: PDO, factory: ['@database_connection', 'getWrappedConnection'] }
# ================================================================================
# FORMS
# ================================================================================