mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-27 13:29:32 +00:00
Use LogoutEvent listener instead of deprecated LogoutHandler.
This commit is contained in:
parent
7f263e9916
commit
d9c83d8bb2
3 changed files with 19 additions and 4 deletions
|
|
@ -78,6 +78,12 @@ services:
|
|||
$allow_attachments_downloads: '%partdb.attachments.allow_downloads%'
|
||||
$mimeTypes: '@mime_types'
|
||||
|
||||
App\EventSubscriber\LogSystem\LogoutLoggerListener:
|
||||
tags:
|
||||
- name: 'kernel.event_listener'
|
||||
event: 'Symfony\Component\Security\Http\Event\LogoutEvent'
|
||||
dispatcher: security.event_dispatcher.main
|
||||
|
||||
####################################################################################################################
|
||||
# Attachment system
|
||||
####################################################################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue