Answers.Body: <p>The <a href="http://buildwithcraft.com/docs/config-settings#verificationCodeDuration" rel="noreferrer">verificationCodeDuration</a> config setting is what you're looking for.  Defaults to 24 hours.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-10T21:34:39.830Z
Answers.Text: Thanks Brad!  Must have had my eyes closed while I was looking. Heh.
Answers.UserDisplayName: jooosh
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-31T17:04:12.060Z
Answers.Text: @bradbell is there a way to show a custom page/error massage if the verification link has expired?
Answers.UserDisplayName: Terry Upton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-10T16:49:50.540Z
Answers.LastActivityDate: 2015-03-10T16:49:50.540Z
Answers.UserDisplayName: Brad Bell
Body: <p>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.</p>
  
  <p>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?</p>
  
  <p>Thanks!</p>
  
Tags: <users><login>
Title: New user registration activation timeout?
ThreadText: # New user registration activation timeout?
  
  (Asked by: username_0 on 2015-03-10)
  
  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!
  
  **Tags:** users, login
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-03-10. Score: 5 | Accepted answer
  
  The [verificationCodeDuration](http://buildwithcraft.com/docs/config-settings#verificationCodeDuration) config setting is what you're looking for. Defaults to 24 hours.
  
  > **Comments:**
  > **username_0**: Thanks username_1!  Must have had my eyes closed while I was looking. Heh.  
  > **username_2**: @username_1 is there a way to show a custom page/error massage if the verification link has expired?  
  
  ---
  
  