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

It's time to change your password link not working. #37902

Closed
2 of 5 tasks
parbat-evrig opened this issue Aug 21, 2023 · 22 comments · Fixed by #37978
Closed
2 of 5 tasks

It's time to change your password link not working. #37902

parbat-evrig opened this issue Aug 21, 2023 · 22 comments · Fixed by #37978
Assignees
Labels
Area: Account Component: Admin Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: done Reported on 2.4.6 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@parbat-evrig
Copy link

Preconditions and environment

  • Magento 2.4.6

Steps to reproduce

  1. Login to admin panel
  2. If your password expired and Password Change setting set to Recommended you will a message "It's time to change your password." with link.
  3. When you click on this link then simply same page will be refreshed.
  4. No way to reset password.

Expected result

It should redirect to reset/change admin password page.

Actual result

It is not redirecting to reset/change admin password page.Simply refresh admin dashboard page.

Additional information

In same admin dashboard page if click on user icon then on Account Setting, it directs to reset/change admin password page.
I think issue is in key that is added to link url.

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”.
@m2-assistant
Copy link

m2-assistant bot commented Aug 21, 2023

Hi @parbat-evrig. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@m2-assistant
Copy link

m2-assistant bot commented Aug 21, 2023

Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Bravo engcom-Bravo added the Reported on 2.4.6 Indicates original Magento version for the Issue report. label Aug 21, 2023
@devchris79
Copy link

Are you using Porto theme?

@parbat-evrig
Copy link
Author

Are you using Porto theme?

@devchris79 No, I am using luma theme.

@devchris79
Copy link

May be related to #35667

@parbat-evrig
Copy link
Author

May be related to #35667

No, that is different.

@parbat-evrig
Copy link
Author

Dashboard message:-
vendor/magento/module-user/Observer/Backend/AuthObserver.php
Line no- 203
$myAccountUrl = $this->url->getUrl('adminhtml/system_account/');
Above url not Working.

Admin user nav:-
vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml
Line No:- 23
<?= /* @noEscape */ $block->getUrl('adminhtml/system_account/index') ?>
Above url is working.

After debugging it more found out that key value in url is diff-diff for both.

@engcom-Bravo
Copy link
Contributor

Hi @parbat-evrig,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the attached video.

Steps to reproduce

  • Login to admin panel
  • If your password expired and Password Change setting set to Recommended you will a message "It's time to change your password." with link.
  • When you click on this link then simply same page will be refreshed.
  • No way to reset password.

We have changed Password change setting as Recommended.

Screenshot 2023-08-22 at 1 31 08 PM
Screen.Recording.2023-08-22.at.1.28.25.PM.mov

After login to Admin dashboard when we click on It's time to change your password it is not redirecting to password change page it is just refreshing the admin page.

Hence Confirming the issue.

Thanks.

@engcom-Bravo engcom-Bravo added Area: Account Component: Admin Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. labels Aug 22, 2023
@m2-community-project m2-community-project bot moved this from Ready for Confirmation to Confirmed in Issue Confirmation and Triage Board Aug 22, 2023
@m2-community-project m2-community-project bot added this to Dev In Progress in High Priority Backlog Aug 22, 2023
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.adobe.com/browse/AC-9357 is successfully created for this GitHub issue.

@m2-assistant
Copy link

m2-assistant bot commented Aug 22, 2023

✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@BeggiNN
Copy link
Contributor

BeggiNN commented Aug 22, 2023

@magento I am working on this

@BeggiNN
Copy link
Contributor

BeggiNN commented Aug 25, 2023

@magento give me 2.4-develop instance

@magento-deployment-service
Copy link

Hi @BeggiNN. Thank you for your request. I'm working on Magento instance for you.

@magento-deployment-service
Copy link

@parbat-evrig
Copy link
Author

Hi @BeggiNN , any update here ?

@BeggiNN
Copy link
Contributor

BeggiNN commented Sep 5, 2023

@parbat-evrig I'm in the process

@m2-community-project m2-community-project bot moved this from Dev In Progress to Pull Request In Progress in High Priority Backlog Sep 8, 2023
BeggiNN added a commit to BeggiNN/magento2 that referenced this issue Sep 8, 2023
…roblem with the link

- Fix 'It's time to change your password' link in admin panel
@m2-community-project m2-community-project bot moved this from Pull Request In Progress to Ready for Development in High Priority Backlog Sep 8, 2023
@BeggiNN
Copy link
Contributor

BeggiNN commented Sep 8, 2023

@magento I am working on this

@Kristhian92
Copy link

Hello everyone, at the moment I am trying to find a solution but I haven't found it, could you help me, thank you

@parbat-evrig
Copy link
Author

parbat-evrig commented Apr 12, 2024 via email

@cristhianlizcanov
Copy link

Hello, I am trying to customize the message its time change the password so that when I click on it, it redirects me to Account Settings to renew the password and it does not take me to the Dashboard again. I don't know what file to change in my vendor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Account Component: Admin Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: done Reported on 2.4.6 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
7 participants