Is there any way to change the expiry time for the welcome message sent after an administrator user created a new account for a user? By default, the login link included in the email is valid for a day, and I would like it to last seven days.

1 Answer 1


In Drupal 7: Set user_password_reset_timeout variable (i.e. in settings.php, or strongarm): i.e. in settings.php:

$conf['user_password_reset_timeout'] = '604800';

source : https://www.drupal.org/node/246029

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.