Redirect back to the Commerce Admin login form with “Your account is temporarily disabled” error
This article provides the possible solutions for the Commerce 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 Adobe Commerce versions and editions
Issue
Steps to reproduce:
- Go to the Commerce Admin page.
- Enter your credentials and click Sign in.
Expected result:
You get logged in to the Commerce 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.
Related reading
- Redirect back to the login form with no error, when trying to login to the Commerce Admin
- Best practices for modifying database tables in the Commerce Implementation Playbook
recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a