Following functions use hard-coded timeout values (86400 seconds):

  • user_pass_reset()
  • user_cancel_confirm

These values cannot be altered without core hack, so let's use variables for them.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zserno’s picture

Patch, that introduces two new variables and adjusts test accordingly.

zserno’s picture

Status: Active » Needs review

Trigger the bot.

aboros’s picture

the patch in #1 applied without any errors using git apply -v [filename.patch]
however, i am not sure how to properly test the functionality since the value is the same as before. should i change the variable manually in the database and then create a user to see the sent mail?

ericduran’s picture

Status: Needs review » Closed (duplicate)