Berikut adalah langkah demi langkah untuk mengganti atau update password Drupal kita melalui PHPMyAdmin
Step 1
Buat file php dengan nama pass_reset.php yang berisi kode sebagai berikut:
<?php define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); require_once 'includes/password.inc'; echo user_hash_password('password_baru'); die(); menu_execute_active_handler(); ?>
Advertisements
Filed under: Artikel, Uncategorized | Tagged: drupal 7, password, phpmyadmin | Leave a comment »