Craft CMS Asked by James Greig on November 14, 2020
Is it possible to modify how long the ‘newpassword’ links are valid for via a setting in config/general.php?
(I’ve found defaultTokenDuration
but it sounds like this might only be for the live preview tokens?)
The setting you're looking for is verificationCodeDuration
which defaults to 24 hours (86400 seconds).
https://docs.craftcms.com/api/v3/craft-config-generalconfig.html#verificationcodeduration
(And see crafthelpersConfigHelper::durationInSeconds() for a list of supported value types)
Correct answer by James Greig on November 14, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP