Skip to content

Password reset - The session has expired, please login again #36447

@pbritka

Description

@pbritka

Preconditions and environment

  • Magento version 2.4.5
  • Clean installation with Luma theme
  • developer environment

Steps to reproduce

Have 2 browsers open. One with the magento shop, second one with your gmail account.

Register a new customer.

In the first browser, click on the "forgotten password" link and enter your email address. You'll be redirected to a customer login page. Don't close the tab.

In the second browser, click on the "reset password" link in your gmail account. A new browser tab will open. Set a new password.

Go back to the first browser, enter your new login information and click on the "login" button.

You'll get this errror: The session has expired, please login again

Expected result

The customer is logged in and redirected to the dashboard.

Actual result

Redirected to https://m2livetest.isotoxin.com/customer/account/index/ with this error message: The session has expired, please login again

When the user logs in the second time, everything works. But it's still not very good to have this screen. It was reported by our QA on our solution which was in production mode and the user was redirected to the homepage. I could replicate this behavior on the clean Luma installation. In previous verision 2.4.3 that we were using, it didn't happen.

Additional information

Screenshot 2022-11-09 at 12 12 14

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: AccountComponent: LoginIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.4.5Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions