diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-06-16 18:03:33 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2021-06-18 10:42:32 +0300 |
commit | dbed0ce6805f050d4ad08bbb073ca4b408f6a933 (patch) | |
tree | 5f8ce58f2f44c00247d7f21b5d38722b6395d58f /core/Application.php | |
parent | ff8cfbb24e49540362c9d9683c14daa40d07f495 (diff) |
Properly cleanup entries of WebAuthn on user deletion
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Application.php')
-rw-r--r-- | core/Application.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php index 262afb2cb4b..f0478173d43 100644 --- a/core/Application.php +++ b/core/Application.php @@ -39,6 +39,7 @@ use OC\Authentication\Listeners\RemoteWipeNotificationsListener; use OC\Authentication\Listeners\UserDeletedFilesCleanupListener; use OC\Authentication\Listeners\UserDeletedStoreCleanupListener; use OC\Authentication\Listeners\UserDeletedTokenCleanupListener; +use OC\Authentication\Listeners\UserDeletedWebAuthnCleanupListener; use OC\Authentication\Notifications\Notifier as AuthenticationNotifier; use OC\Core\Notification\CoreNotifier; use OC\DB\Connection; @@ -273,5 +274,6 @@ class Application extends App { $eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedTokenCleanupListener::class); $eventDispatcher->addServiceListener(BeforeUserDeletedEvent::class, UserDeletedFilesCleanupListener::class); $eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedFilesCleanupListener::class); + $eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedWebAuthnCleanupListener::class); } } |