Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | use_variables_for_timeout_values-1195234-1.patch | 1.85 KB | zserno |
Comments
Comment #1
zserno CreditAttribution: zserno commentedPatch, that introduces two new variables and adjusts test accordingly.
Comment #2
zserno CreditAttribution: zserno commentedTrigger the bot.
Comment #4
aboros CreditAttribution: aboros commentedthe 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?
Comment #5
ericduran CreditAttribution: ericduran commentedMarking this a duplicate of #246029: Use a variable for the timeout/expiration of user password reset links (followup)