Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stored user for PasswordUpdatedEvent #32016

Merged
merged 1 commit into from
May 16, 2022

Conversation

artonge
Copy link
Contributor

@artonge artonge commented Apr 19, 2022

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

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

@artonge artonge added this to the Nextcloud 25 milestone Apr 19, 2022
@artonge artonge requested review from nickvergessen and a team April 19, 2022 13:58
@artonge artonge self-assigned this Apr 19, 2022
@artonge artonge requested review from icewind1991, CarlSchwan and vanpertsch and removed request for a team April 19, 2022 13:58
@artonge artonge force-pushed the fix/PasswordUpdatedEvent_handling branch 2 times, most recently from 3268622 to ad22d14 Compare April 20, 2022 12:03
@artonge artonge changed the title Use stored user for PasswordUpdatedEvent Use stored user for PasswordUpdatedEvent Apr 26, 2022
@artonge artonge added the 3. to review Waiting for reviews label Apr 28, 2022
@artonge artonge force-pushed the fix/PasswordUpdatedEvent_handling branch 3 times, most recently from 627f950 to 8517bb2 Compare April 28, 2022 15:31
@artonge
Copy link
Contributor Author

artonge commented May 2, 2022

/rebase

@artonge artonge closed this May 3, 2022
@artonge artonge force-pushed the fix/PasswordUpdatedEvent_handling branch from 8517bb2 to 290697b Compare May 3, 2022 16:06
@artonge artonge reopened this May 3, 2022
@artonge artonge force-pushed the fix/PasswordUpdatedEvent_handling branch 3 times, most recently from 2b9d29f to 498681c Compare May 10, 2022 09:20
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>
@artonge artonge force-pushed the fix/PasswordUpdatedEvent_handling branch from 498681c to 816e782 Compare May 10, 2022 10:16
@artonge
Copy link
Contributor Author

artonge commented May 10, 2022

CI failure unrelated, samba is always failing https://github.com/nextcloud/server/actions/workflows/smb-kerberos.yml

@artonge artonge requested a review from a team May 10, 2022 11:19
@artonge
Copy link
Contributor Author

artonge commented May 16, 2022

Review ping :)

@artonge artonge merged commit 259b280 into master May 16, 2022
@artonge artonge deleted the fix/PasswordUpdatedEvent_handling branch May 16, 2022 10:38
@blizzz
Copy link
Member

blizzz commented Jun 22, 2022

/backport to stable24

@blizzz
Copy link
Member

blizzz commented Jun 22, 2022

/backport to stable23

@blizzz
Copy link
Member

blizzz commented Jun 22, 2022

/backport to stable22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants