6

Does the "Activate your account" link, in emails sent to new users, have an timeframe for expiration? I've had a few of my users run into a "Invalid verification code" error when clicking on the link, after waiting a couple days. If I resend the email, and they click on it within a few hours there's no issue.

I've looked through the docs and posts here and don't see any reference to one. If there is a default expiration, is this something I can override?

Thanks!

1 Answer 1

5

The verificationCodeDuration config setting is what you're looking for. Defaults to 24 hours.

2
  • Thanks Brad! Must have had my eyes closed while I was looking. Heh.
    – jooosh
    Commented Mar 10, 2015 at 21:34
  • 1
    @bradbell is there a way to show a custom page/error massage if the verification link has expired? Commented Jan 31, 2017 at 17:04

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.