|
44 | 44 | use OCA\Files_External\Lib\Config\IBackendProvider; |
45 | 45 | use OCA\Files_External\Listener\GroupDeletedListener; |
46 | 46 | use OCA\Files_External\Listener\LoadAdditionalListener; |
| 47 | +use OCA\Files_External\Listener\StorePasswordListener; |
47 | 48 | use OCA\Files_External\Listener\UserDeletedListener; |
48 | 49 | use OCA\Files_External\Service\BackendService; |
49 | 50 | use OCA\Files_External\Service\MountCacheService; |
|
56 | 57 | use OCP\Group\Events\GroupDeletedEvent; |
57 | 58 | use OCP\Group\Events\UserAddedEvent; |
58 | 59 | use OCP\Group\Events\UserRemovedEvent; |
| 60 | +use OCP\User\Events\PasswordUpdatedEvent; |
59 | 61 | use OCP\User\Events\PostLoginEvent; |
60 | 62 | use OCP\User\Events\UserCreatedEvent; |
61 | 63 | use OCP\User\Events\UserDeletedEvent; |
| 64 | +use OCP\User\Events\UserLoggedInEvent; |
62 | 65 | use Psr\Container\ContainerExceptionInterface; |
63 | 66 |
|
64 | 67 | /** |
@@ -90,6 +93,9 @@ public function register(IRegistrationContext $context): void { |
90 | 93 | $context->registerEventListener(UserRemovedEvent::class, MountCacheService::class); |
91 | 94 | $context->registerEventListener(PostLoginEvent::class, MountCacheService::class); |
92 | 95 |
|
| 96 | + $context->registerEventListener(UserLoggedInEvent::class, StorePasswordListener::class); |
| 97 | + $context->registerEventListener(PasswordUpdatedEvent::class, StorePasswordListener::class); |
| 98 | + |
93 | 99 | $context->registerConfigLexicon(ConfigLexicon::class); |
94 | 100 | } |
95 | 101 |
|
|
0 commit comments