Hi Guys,
Today i came across a situation where I had to reset my admin password for Magento in order to continue. I kept getting error – Its time to change your password. Though I had to update the password to be able to proceed, I wanted to disable it. Let me tell you how I did it.
Navigate to Admin Panel -> Stores -> Configuration -> Advanced -> Admin
Keep the “Password Lifetime(days)” field empty to disable the password expiration.
Hope this trick will help you.