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

VCST-781: Publish two different events when changing password #2780

Merged
merged 2 commits into from Apr 11, 2024

Conversation

artem-dudarev
Copy link
Contributor

Description

Previously, when a user changed their password, the platform would publish the UserPasswordChangedEvent event twice: once for the operation itself, and once for the detected changes to the user properties.

This PR introduces a separate event for the change password operation - the UserChangedPasswordEvent.

So, now there are three events related to the password change:

  • UserResetPasswordEvent - user has reset their password
  • UserChangedPasswordEvent - user has changed their password
  • UserPasswordChangedEvent - password has been changed for whatever reason. This event is published for both reset password and change password operations.

References

QA-test:

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-781

Artifact URL:

Copy link

sonarcloud bot commented Apr 11, 2024

@artem-dudarev artem-dudarev merged commit a5c087b into dev Apr 11, 2024
10 checks passed
@artem-dudarev artem-dudarev deleted the VCST-781 branch April 11, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants