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

Confirm register workflow stuck when modifying password before confirmation #176

Open
travisbotello opened this issue Dec 15, 2021 · 0 comments

Comments

@travisbotello
Copy link

travisbotello commented Dec 15, 2021

We came across this issue while our email gateway was stuck and therefore emails got delayed.

Steps to reproduce

  • submit registration
  • submit another registration with same email but different password
  • click confirmation link in first email
    => redirected to expiration page
  • click confirmation link in second email
    => redirected to error page

Expected behavior
User should either be activated or should be send to expiration page. In current setup user is lost in error page and doesn't know what to do next.

What do you see instead
Redirect to error page.

Line in question is https://github.com/modxcms/Login/blob/master/core/components/login/controllers/web/ConfirmRegister.php#L135

MODX 2.8.3
Login 1.9.10
PHP 7.4

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