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

Profile Module - missing 'code' arg in ProfileCorePreload::eventCoreLostpassStart() URI creation #1129

Closed
zyspec opened this issue Nov 24, 2021 · 0 comments · Fixed by #1149
Labels
Milestone

Comments

@zyspec
Copy link
Contributor

zyspec commented Nov 24, 2021

The eventCoreLostpassStart() method is missing the 'code' arg when building the header URI. Currently the header is built using:

header("location: ./modules/profile/lostpass.php?email={$email}" . (empty($_GET['code']) ? '' : '&' . $_GET['code']));

but the header line should be:

header("location: ./modules/profile/lostpass.php?email={$email}" . (empty($_GET['code']) ? '' : '&code=' . $_GET['code']));
@zyspec zyspec added the bug label Dec 12, 2021
@zyspec zyspec added this to the 2.5.11 milestone Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant