Reset the Drupal 8 Password
To reset the password in drupal 8, you just need to follow some below given steps -
1. Go to project root folder like -
2. Execute the password-hash.sh file and pass the password string as parameter -
Here "admin1" is the password string which you want to set and password-hash.sh file will
generate the hashcode of password "admin1".
This will generate a Hash Password like -
password: admin1 hash: $S$Eyg7BdK4AxhqBy6KEp.
3. Update the password in the db, table is users_field_data
4. Remove the cache and login with new credentails.
All needful is done. Just login with your new password.
Watch the video for more - https://www.youtube.com/watch?v=wkuY2pFtf4c