First you need to unlock your user :
Step1 : Magento Unlock User -
php bin/magento admin:user:unlock ADMINUSERNAME
if your step 1 is not working then go to the Step 2 :
Step2 : Magento Admin Password Change-
php bin/magento admin:user:create --admin-user='AdminUserHere' --admin-password='AdminPasswordHere' --admin-email='yourEmail' --admin-firstname='yourAdminFirstName' --admin-lastname='yourAdminLastName'
IF YOUR PHP VERSION IS GREATER THAN 7.0 THEN YOU HAVE TO USER
Step1 : Magento Unlock User -
php7.0 bin/magento admin:user:unlock ADMINUSERNAME
if your step 1 is not working then go to the Step 2 :
Step2 : Magento Admin Password Change-
php7.0 bin/magento admin:user:create --admin-user='AdminUserHere' --admin-password='AdminPasswordHere' --admin-email='yourEmail' --admin-firstname='yourAdminFirstName' --admin-lastname='yourAdminLastName'
Comments
Post a Comment