- 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...
-
In Finnish, location-based words like "täällä," "tuolla," and "siellä" help describe where something is rela...
-
In Finnish, telling time follows a specific structure, and understanding it can help you get the hang of the language. Here’s a guide with e...
No comments:
Post a Comment