Answers.Body: <p>This is determined by the <a href="https://craftcms.com/docs/4.x/config/general.html#defaulttokenduration" rel="nofollow noreferrer"><code>defaultTokenDuration</code> general config setting</a> which is set to 1 day unless you change it in the <code>general.php</code> config file.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-18T14:46:33.380Z
Answers.Text: We typically change ours to 14 days, which is a far more reasonable window for people to log in for the first time.
Answers.UserDisplayName: Lindsey D
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-18T09:22:07.413Z
Answers.LastActivityDate: 2023-12-18T14:14:18.150Z
Answers.LastEditDate: 2023-12-18T14:14:18.150Z
Answers.UserDisplayName: Steve Rowling
Body: <p>Does anyone know how much time a user has to use the activation link in the user activation mail?
  Some clients report to us that that they see an error page after waiting a weekend to use the activation link.</p>
  
Tags: <users><emails><activation>
Title: User activation mail not working after a while
ThreadText: # User activation mail not working after a while
  
  (Asked by: username_0 on 2023-12-18)
  
  Does anyone know how much time a user has to use the activation link in the user activation mail?
  Some clients report to us that that they see an error page after waiting a weekend to use the activation link.
  
  **Tags:** users, emails, activation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-12-18. Score: 2 | Accepted answer
  
  This is determined by the [`defaultTokenDuration` general config setting](https://craftcms.com/docs/4.x/config/general.html#defaulttokenduration) which is set to 1 day unless you change it in the `general.php` config file.
  
  > **Comments:**
  > **username_2**: We typically change ours to 14 days, which is a far more reasonable window for people to log in for the first time.  
  
  ---
  
  