Skip to content

Login on second attempt after one unsuccessful try redirects customer to 404 page #32885

Closed
@mfickers

Description

@mfickers

Preconditions (*)

  1. Reproduced on Magento 2.4.1, Magento 2.4.2
  2. Config "customer/startup/redirect_dashboard" is set to "No"

Steps to reproduce (*)

  1. Navigate to login page, without referrer parameter in URL (i.e. "/customer/account/login/")
  2. Enter invalid login data and try to login
  3. After page reload, URL will now contain a referrer parameter, which is the URL to "/customer/account/loginPost/" as base64 encoded string
  4. Enter correct login data and login
  5. You will be redirected to "/customer/account/loginPost", which will display a 404 error page, because this controller is not available for GET requests

Expected result (*)

  1. Unsuccessful login redirects back to login page without adding a referrer

Actual result (*)

  1. Unsuccessful login adds invalid URL as referrer parameter

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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

Labels

Component: LoginIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions