Store sessions in database (#1736)
This commit is contained in:
@@ -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
|
||||
# ================================================================================
|
||||
|
||||
Reference in New Issue
Block a user