Wednesday, January 10, 2018

Reset user password Drupal 7


  1. First go to drupal project's root directory and open command prompt
  2. Then paste the below command and press enter
    php ./scripts/password-hash.sh yourpassword
  3. It will generate a hash, copy the hash characters and go to database.
  4. Then if you are in phpmyadmin then in users table update the pass field with the hash characters Or you can run an update query.
  5. YOU ARE DONE. 😎

No comments:

Post a Comment

Change priority of dual boot OS

Change priority of dual boot OS  (Windows and Linux): Go to your Linux OS, install Grub customizer. Then change priority by up and down arro...