diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-06-18 12:52:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 12:52:05 +0200 |
commit | 38edc6fdec105c023ead1fc2d6103d540be6266b (patch) | |
tree | 86b385316cf7ed585e1e97a3d2c3a92f3a54e585 /core | |
parent | 9a05fd4f5210ddacc8833054617c0a6544fbb2fd (diff) | |
parent | dbed0ce6805f050d4ad08bbb073ca4b408f6a933 (diff) | |
download | nextcloud-server-38edc6fdec105c023ead1fc2d6103d540be6266b.tar.gz nextcloud-server-38edc6fdec105c023ead1fc2d6103d540be6266b.zip |
Merge pull request #27532 from nextcloud/fix/noid/properly-cleanup-webauthn-user-deletion
Properly cleanup entries of WebAuthn on user deletion
Diffstat (limited to 'core')
-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); } } |