Answers.Body: <p>The config settings you're looking for are probably '<a href="http://buildwithcraft.com/docs/config-settings#activateAccountSuccessPath" rel="nofollow">activateAccountSuccessPath</a>' and '<a href="http://buildwithcraft.com/docs/config-settings#autoLoginAfterAccountActivation" rel="nofollow">autoLoginAfterAccountActivation</a>'.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-17T19:04:14.987Z
Answers.Text: I would expect that the [autoLoginAfterAccountActiviation](http://buildwithcraft.com/docs/config-settings#autoLoginAfterAccountActivation) would accomplish the goal of logging them in immediately. Why does this not work?
Answers.UserDisplayName: kevinsbarr
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-17T19:22:56.470Z
Answers.Text: Ahh, yeah.  Forgot about that one.  Will update the answer.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-17T19:44:24.023Z
Answers.Text: autoLoginAfterAccountActivation doesn't seem to be working for us. activateAccountSuccessPath is working.
Answers.UserDisplayName: kevinsbarr
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-17T21:53:22.393Z
Answers.Text: You have it set to true? (no quotes)
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-20T14:17:59.870Z
Answers.Text: Ah, my bad. I had quotes around 'true'. Now it's working as expected - thanks!
Answers.UserDisplayName: kevinsbarr
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-17T18:14:53.417Z
Answers.LastActivityDate: 2014-10-17T19:24:10.100Z
Answers.LastEditDate: 2014-10-17T19:24:10.100Z
Answers.UserDisplayName: Brad Bell
Body: <p>When a user registers on the front-end of our site, we'd like the default behavior be that when they click on the confirmation link in the email they receive, they are automatically logged in and taken to a "My Account" page that we've created. Is this possible? Right now, they're redirected to the home page, and it doesn't appear that they're logged in.</p>
  
  <p>We updated the <a href="http://buildwithcraft.com/docs/config-settings#postLoginRedirect" rel="nofollow">postLoginRedirect</a> variable in our config to the My Account page, but that didn't seem to do the trick.</p>
  
Tags: <users><redirect>
Title: How to Redirect After Successful Registration Confirmation
ThreadText: # How to Redirect After Successful Registration Confirmation
  
  (Asked by: username_0 on 2014-10-17)
  
  When a user registers on the front-end of our site, we'd like the default behavior be that when they click on the confirmation link in the email they receive, they are automatically logged in and taken to a "My Account" page that we've created. Is this possible? Right now, they're redirected to the home page, and it doesn't appear that they're logged in.
  
  We updated the [postLoginRedirect](http://buildwithcraft.com/docs/config-settings#postLoginRedirect) variable in our config to the My Account page, but that didn't seem to do the trick.
  
  **Tags:** users, redirect
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-10-17. Score: 4 | Accepted answer
  
  The config settings you're looking for are probably '[activateAccountSuccessPath](http://buildwithcraft.com/docs/config-settings#activateAccountSuccessPath)' and '[autoLoginAfterAccountActivation](http://buildwithcraft.com/docs/config-settings#autoLoginAfterAccountActivation)'.
  
  > **Comments:**
  > **username_0**: I would expect that the [autoLoginAfterAccountActiviation](http://buildwithcraft.com/docs/config-settings#autoLoginAfterAccountActivation) would accomplish the goal of logging them in immediately. Why does this not work?  
  > **username_1**: Ahh, yeah.  Forgot about that one.  Will update the answer.  
  > **username_0**: autoLoginAfterAccountActivation doesn't seem to be working for us. activateAccountSuccessPath is working.  
  > **username_1**: You have it set to true? (no quotes)  
  > **username_0**: Ah, my bad. I had quotes around 'true'. Now it's working as expected - thanks!  
  
  ---
  
  