Skip to content

Confirm register workflow stuck when modifying password before confirmation #176

Open

Description

@travisbotello

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions