burzhuy burzhuy - 1 year ago 70
PHP Question

Magento stuck on " It's time to change your password."

I didn't used Magento 2.0.2.0 CE for about 1 month. After that i logged in to admin after, opened the my account/Account information page, the title “It's time to change your password.” was showed. When i tried to open my products (or settings page), the similar page “It's time to change your password.” was showed

I changed my password and pressed “Save Account”. And nothing changed, i still see “It's time to change your password.”, all menu items leads to this page “It's time to change your password.”

enter image description here

Answer Source

1) run this script - UPDATE admin_passwords SET expires = <<some future timestamp>> WHERE user_id = <<admin_user_id>>; i have used <<some future timestamp>> = 1999999998

or with help of some UI client edit 'expires' column in admin_passwords table to 1999999998 (i changed all lines to affect all users)

2) Clean your browser cache and coockie.

3) Login to Magento. Enjoy it!