Use LogoutEvent listener instead of deprecated LogoutHandler.

This commit is contained in:
Jan Böhmer 2020-05-31 13:48:36 +02:00
parent 7f263e9916
commit d9c83d8bb2
3 changed files with 19 additions and 4 deletions

View file

@ -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
####################################################################################################################