aboutsummaryrefslogtreecommitdiffstats
path: root/core/Application.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-06-16 17:03:33 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-06-22 13:53:27 +0000
commite757a5ecfdcddbddc29edf0e61ba60de1181315b (patch)
treecc6ed6e2e509eb93f968965a45145d2666e45673 /core/Application.php
parent6069ea83e54f42c97c8d3bb2a344061bf566610f (diff)
downloadnextcloud-server-e757a5ecfdcddbddc29edf0e61ba60de1181315b.tar.gz
nextcloud-server-e757a5ecfdcddbddc29edf0e61ba60de1181315b.zip
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.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php
index c3cb6f02ed5..c36db6a3281 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -39,6 +39,7 @@ use OC\Authentication\Listeners\RemoteWipeEmailListener;
use OC\Authentication\Listeners\RemoteWipeNotificationsListener;
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;
@@ -270,5 +271,6 @@ class Application extends App {
$eventDispatcher->addServiceListener(RemoteWipeFinished::class, RemoteWipeEmailListener::class);
$eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedStoreCleanupListener::class);
$eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedTokenCleanupListener::class);
+ $eventDispatcher->addServiceListener(UserDeletedEvent::class, UserDeletedWebAuthnCleanupListener::class);
}
}