Last active
July 5, 2018 22:50
-
-
Save ummdorian/252affef8387500ea19fb4ebc8789f0d to your computer and use it in GitHub Desktop.
Windows powershell change drupal 8 user password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// update password | |
drush user-password username --password=password | |
// generate a hash to manually add to database | |
php core/scripts/password-hash.sh password | |
// url to reset | |
/user/password | |
// drush change password | |
drush upwd --password=<new password> <some-username> | |
// password reset link | |
drush uli some-username |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
drush user-create adminuser --mail="someone@gmail.com" --password="Password"; drush user-add-role "administrator" adminuser