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

HMS-2151 fix: remember settings on step-back to token page #10

Merged

Conversation

frasertweedale
Copy link
Contributor

If the user steps back to the token page, settings they provided in the later pages of wizard are forgotten.

Avoid this by updating onVerify to return early if it detects that the registered state is already 'completed'. This avoid overwriting the domain in the wizard state with the "pristine" domain data from the VerifyRegistry component.

If the user steps back to the token page, settings they provided in
the later pages of wizard are forgotten.

Avoid this by updating `onVerify` to return early if it detects that
the registered state is already `'completed'`.  This avoid
overwriting the domain in the wizard state with the "pristine"
domain data from the `VerifyRegistry` component.
Copy link
Contributor

@aadhikar aadhikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aadhikar aadhikar merged commit 62c0f83 into podengo-project:main Oct 13, 2023
1 check passed
@frasertweedale frasertweedale deleted the wizard-remember-user-settings branch October 13, 2023 13: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