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