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

Suomen kieli (Imperfekti)

In Finnish, the imperfekti is the past tense that describes actions that happened in the past, like the English simple past (e.g., "I ...