Magento 2: Create new admin user using command linemohamed
In this lesson we will know how to create new admin user using command line
Let’s go to our project terminal
We will use this command:
we will put the
- Admin username
- Admin password
- Admin Email
- Admin first name
- Admin last name
Now we go to admin panel URL:
we put the login information.
We have got an issue that we need to configure TowFactor authentication
To solve this issue, we will go to project terminal
And write this command to disable Two factor authentication
bin/magento module:disable Magento_AdminAdobeImsTwoFactorAuth
bin/magento module:disable Magento_TwoFactorAuth
Then we flush the cache
let’s try again to login to adminpanel. Done.
If you have any question, please write a comment below I will try my best to help you
Thanks for watching if you see this lesson is valuable, please like and subscribe to the channel.