[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

ACSD-48570: Fixing admin reset password link issue with store code in URL

The ACSD-48570 patch to fix the Adobe Commerce issue where the reset password page could not be accessed via the Admin reset password link when the Add Store Code to URLs configuration was enabled. This patch is available when the Quality Patches Tool (QPT) 1.1.58 is installed. The patch ID is ACSD-48570. Please note that the issue was fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.6-p8
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

When the Add Store Code to URLs setting is enabled, the Admin reset password functionality does not work correctly.
After an admin user requests a password reset and clicks on the recovery link in the email, they are redirected to the login page or receive a 404 error instead of being taken to the reset password form. This prevents administrators from recovering their accounts without manual intervention.

Steps to reproduce:

  1. Enable the Add Store Code to URLs configuration at Store > Configuration > General > Web > URL Options.
  2. Log out from the Admin panel and click the Forgot your password? link on the Admin login page.
  3. Enter the Admin user’s email, pass the captcha, and click Retrieve Password.
  4. Open the password reset email and click on the password recovery link.

Expected results:

The reset password form should be displayed.

Actual results:

The login page or a 404 error page is displayed instead of the reset password form.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3