]> source.dussan.org Git - nextcloud-server.git/commit
Use stored user for PasswordUpdatedEvent 32974/head
authorLouis Chemineau <louis@chmn.me>
Tue, 19 Apr 2022 13:56:56 +0000 (15:56 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 22 Jun 2022 10:27:37 +0000 (10:27 +0000)
commite6a254641e664a75616c5a13d1de80c1fcc3cf02
treeb250d6c56fb664b144573fa98db644281e57e8a4
parentc530f8a77c772a484a4bfafd352cc00a03b15949
Use stored user  for PasswordUpdatedEvent

When handling PasswordUpdatedEvent event, we are calling getLoginName which does not exists.

This PR adds a condition to use the previously stored user when handling PasswordUpdatedEvent.

Signed-off-by: Louis Chemineau <louis@chmn.me>
apps/files_external/lib/Listener/StorePasswordListener.php