How to skip mandatory password change step on Magento admin? | #MagentoTips4
September 04, 2021
Magento enforces admin users to change their password regularly based on admin/security/password_lifetime
config. That config setting is set to 90 days by default.
There are two ways to apply work around this especially if you work on your local dev environment.
- Change
admin/security/password_lifetime
config path to something like 9999. It can be change fromStore > Configuration > Advanced > Admin > Security > Password Lifetime (days)
on Magento admin. - You can alternatively update
last_updated
column inadmin_password
table as following.
update admin_passwords set last_updated=1630739439 where user_id=1;
--update admin_passwords set last_updated={timestamp} where user_id={user_id};