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

OWA-99: fix: do not perform logout if password reset with token #648

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

mirovladimitrovski
Copy link
Collaborator

@mirovladimitrovski mirovladimitrovski commented Nov 20, 2024

Description

This PR solves OWA-99.

Whenever a password change or reset is requested and finished successfully, we're performing a logout request afterwards. This is fine is the password change is requested by a logged in user. But the logout request should NOT be performed when a logged out user has forgotten their password and starts a process for resetting their password. With changes in this PR the logout request will only be made if there is a user logged in.

Steps completed:

According to our definition of done, I have completed the following steps:

  • Acceptance criteria met
  • Unit tests added
  • Docs updated (including config and env variables)
  • Translations added
  • UX tested
  • Browsers / platforms tested
  • Rebased & ready to merge without conflicts
  • Reviewed own code

Copy link

github-actions bot commented Nov 20, 2024

Visit the preview URL for this PR (updated for commit a349b22):

https://ottwebapp--pr648-owa-99-prevent-logou-hvg6tdxy.web.app

(expires Fri, 27 Dec 2024 15:37:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c198f8a3a199ba8747819f7f1e45cf602b777529

@mirovladimitrovski mirovladimitrovski changed the title fix: do not perform logout if password reset with token OWA-99: fix: do not perform logout if password reset with token Nov 20, 2024
@AntonLantukh AntonLantukh merged commit c3fbdc9 into develop Dec 6, 2024
10 checks passed
@AntonLantukh AntonLantukh deleted the OWA-99/prevent-logout-after-password-reset branch December 6, 2024 09:22
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.

2 participants