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

wp-login.php redirect_to get param is lost during 2fa #35

Open
thomasmb opened this issue Jun 21, 2022 · 1 comment
Open

wp-login.php redirect_to get param is lost during 2fa #35

thomasmb opened this issue Jun 21, 2022 · 1 comment

Comments

@thomasmb
Copy link

When logging in, if the 2FA feature is used, the redirect_to part of the url is lost in the login process.

Example:

  1. Open link while not logged in: /wp-admin/post.php?post=1234
  2. You get sent to /wp-login.php?redirect_to=… with the original link in the url, and you log in
  3. You get sent back to /wp-login.php to enter confirmation code, but now the redirect_to arg is gone from the url
  4. Log in

Result: You are not sent to the original link, but instead end up at the dashboard

@thomasmb
Copy link
Author

Any chance we can get this fixed?

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

No branches or pull requests

1 participant