Configure Drupal's User Password Reset Link Timeout

I just realized that as of Drupal 7.15, you can shorten or increase the timeout (in seconds) for the user password reset link that is emailed to users who request a password reset.

While this isn't configurable in the Drupal UI, you can set it via drush quite easily. The drush operation below will set the timeout to 48 hours instead of the default 24 hours.

$ drush vset user_password_reset_timeout 172800

Blog Category: