- 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)
Wordpress debug log function
Wordpress error log code: if ( ! function_exists ( 'write_log' ) ) { function write_log ( $data ) { if ( defined ( '...
-
PHP script to export mysql database as sql file: ----------------------------------------------------------- <?php //Enter your data...
-
1.InnoDB: InnoDB works on relational database way. example: if you create two tables and create a relation first table to second table lik...
-
In Finnish, the imperfekti is the past tense that describes actions that happened in the past, like the English simple past (e.g., "I ...
No comments:
Post a Comment