This article provides the possible solutions for the Magento Admin login issue, where you are redirected back to the login form with the following error message: "Your account is temporarily disabled". The suggested solution is checking and correcting the admin user database settings.
Affected editions and versions:
All Magento versions and editions.
Issue
Steps to reproduce:
- Go to your Magento Admin page.
- Enter your credentials and click Sign in.
Expected result:
You get logged in to the Magento Admin.
Actual result:
You are redirected back to the login form, with the following error message displayed: "Your account is temporarily disabled. Please try again later".
Solution
- Create a database backup.
- Use a database tool such as phpMyAdmin, or access the DB manually from the command line. In the
admin_user
database table, for your admin user record, check ifis_active
is set to "1" andlock_expires
isNULL
. Reset these values if required.