- First go to drupal project's root directory and open command prompt
- Then paste the below command and press enter
php ./scripts/password-hash.sh yourpassword - It will generate a hash, copy the hash characters and go to database.
- 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.
- YOU ARE DONE. 😎
Wednesday, January 10, 2018
Reset user password Drupal 7
Subscribe to:
Post Comments (Atom)
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 ...
-
PHP script to export mysql database as sql file: ----------------------------------------------------------- <?php //Enter your data...
-
Fix Mysql crash in XAMPP: 1. Go to xampp -> mysql folder 2. Copy data folder and paste and rename it to data_old 3. Go to data folder,...
-
Sending email by Ajax form in Drupal 9: First make the HTML form, say it is here in this twig template: < div id = "shop-feedback-...
No comments:
Post a Comment