Drupal Password Recovery after 5 wrong attempts


How to recover password in drupal after 5 attempts.


If after entered 5 times your password wrong, there are a number of ways to recover the password like for example through recevery steps etc, but here will show how you can do that using drush. Type in the commands below:

drush php-eval 'db_query("DELETE FROM 'flood'");'
update password
drush upwd --password="password" "joe"