magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

New admin account is disabled after a login attempt is made if the account's expiration date is greater than 2038 #34463

Closed SinpietruAdrian closed 2 months ago

SinpietruAdrian commented 3 years ago

Preconditions

Magento 2.4.3-p1 CE

Steps to reproduce

Create an admin user (System - All Users - Add New User)and set the Expiration Date greater than the year 2038
Try to login in the admin area with the newly created user

Expected result

You are able to login in the admin area

Actual result

You get an error stating the account doesn't exist / has been disabled

PR of a workin solution https://github.com/magento/magento2/pull/34462

m2-assistant[bot] commented 3 years ago

Hi @SinpietruAdrian. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

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:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: 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.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 3 years ago

Hi @krishprakash. 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: :point_down:

krishprakash commented 3 years ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 3 years ago

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

magento-deployment-service[bot] commented 3 years ago

Hi @krishprakash, here is your Magento Instance: https://77da08586c4db8ec16ab5e999675f5a8-2-4-develop.instances.magento-community.engineering Admin access: https://77da08586c4db8ec16ab5e999675f5a8-2-4-develop.instances.magento-community.engineering/admin_5bad Login: 64fdc848 Password: 6118a5fc75f8

github-jira-sync-bot commented 3 years ago

:white_check_mark: Jira issue https://jira.corp.magento.com/browse/AC-1569 is successfully created for this GitHub issue.

m2-assistant[bot] commented 3 years ago

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

engcom-Alfa commented 3 years ago

It needs to be re confirmed by internal team as well. Thanks for raising the issue, and your collaboration & contribution!

m2-assistant[bot] commented 2 years ago

Hi @engcom-November. 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: :point_down:

engcom-November commented 2 years ago

This issue is reproducible on Magento 2.4-develop branch. Hence updating the description and confirming the issue.

github-jira-sync-bot commented 2 years ago

:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-1569

JettyRohanAditya commented 1 year ago

@magento I am working on this

m2-assistant[bot] commented 1 year ago

Hi @JettyRohanAditya! :wave: Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.

JettyRohanAditya commented 1 year ago

@magento add to contributors team

m2-assistant[bot] commented 1 year ago

Hi @JettyRohanAditya! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

JettyRohanAditya commented 1 year ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 1 year ago

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

magento-deployment-service[bot] commented 1 year ago

Hi @JettyRohanAditya, here is your Magento Instance: https://2d5a55b468630a3bfd237661b88e5af2.instances-prod.magento-community.engineering Admin access: https://2d5a55b468630a3bfd237661b88e5af2.instances-prod.magento-community.engineering/admin_f443 Login: 05c0e21b Password: 04db079c7868

JettyRohanAditya commented 1 year ago

@magento I am getting this error message, rather than the one mentioned in the issue.

Screenshot 2023-07-07 at 4 10 27 PM
JettyRohanAditya commented 1 year ago

@SinpietruAdrian I am not able to reproduce the issue

https://github.com/magento/magento2/assets/136695508/716cbf0d-c209-4ad6-bd4d-e2d3faf13867

engcom-Bravo commented 2 months ago

@JettyRohanAditya Thanks for your contribution!!

Hi @SinpietruAdrian,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is no more reproducible.Hence we are closing this issue.

Thanks.