Skip to content

Display a button to redirect to the home page after verifying the code directly without having to reload the page for it to appear.#86

Closed
yhyasyrian wants to merge 1 commit intostephenjude:3.xfrom
yhyasyrian:3.x
Closed

Display a button to redirect to the home page after verifying the code directly without having to reload the page for it to appear.#86
yhyasyrian wants to merge 1 commit intostephenjude:3.xfrom
yhyasyrian:3.x

Conversation

@yhyasyrian
Copy link
Copy Markdown
Contributor

When the user is asked to activate two-factor authentication and the code entered is verified,
the user is forced to reload the page to see a button that directs them to the dashboard home page.
See the difference in the pictures:

before:
After check code:
Screenshot from 2025-09-19 12-16-23
Then you need to refresh the page for the dashboard link to appear (photo after refersh)
Screenshot from 2025-09-19 12-16-27

after:
After check code:
Screenshot from 2025-09-19 12-15-10
It is easier and clearer for the user.

@stephenjude
Copy link
Copy Markdown
Owner

@yhyasyrian can we make the current implementation reactive so that the URL shows up immediately after the code setup is complete?
PS: This PR won’t serve well when the 2FA component is used on a profile page.

@yhyasyrian
Copy link
Copy Markdown
Contributor Author

Ok, I will upload new edit in new pull request

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