Magento 2 – How to change the default Magento admin password expiration period?

Posted on May 27, 2021 by jamie

php bin/magento config:set admin/security/password_lifetime 0
php bin/magento config:set admin/security/password_is_forced 0
php bin/magento c:f