Answers.Body: <p>Okay - got to the bottom of this.
  Was using the wrong setting. Should have been <code>setPasswordSuccessPath</code> not <code>setPasswordSuccess</code>!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-28T08:29:49.490Z
Answers.LastActivityDate: 2016-09-28T08:29:49.490Z
Answers.UserDisplayName: Cole Henley
Body: <p>A bit of an extension of my previous query at <a href="https://craftcms.stackexchange.com/questions/16658/auto-login-on-account-activation">Auto-login on account activation</a></p>
  
  <p>I want to a user to:</p>
  
  <ol>
  <li>automatically login on account activation, and </li>
  <li>be redirected to a predetermined page on account activation.</li>
  </ol>
  
  <p>Thanks to @steverowling managed to do the former using his autologin plugin(<a href="https://github.com/steverowling/autologin" rel="nofollow noreferrer">1</a>). However struggling with the latter. I can't see how to specify the redirect location and on activation/login the user is always redirected to the site homepage. </p>
  
  <p>Any thoughts on how to specify a redirect destination in conjunction with the above functionality?</p>
  
  <p>Cole</p>
  
Tags: <users><login><registration><activation>
Title: Autologin destination
ThreadText: # Autologin destination
  
  (Asked by: username_0 on 2016-09-23)
  
  A bit of an extension of my previous query at [Auto-login on account activation](https://craftcms.stackexchange.com/questions/16658/auto-login-on-account-activation)
  
  I want to a user to:
  
  1. automatically login on account activation, and
  2. be redirected to a predetermined page on account activation.
  
  Thanks to @steverowling managed to do the former using his autologin plugin([1](https://github.com/steverowling/autologin)). However struggling with the latter. I can't see how to specify the redirect location and on activation/login the user is always redirected to the site homepage.
  
  Any thoughts on how to specify a redirect destination in conjunction with the above functionality?
  
  username_0
  
  **Tags:** users, login, registration, activation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-09-28. Score: 3
  
  Okay - got to the bottom of this.
  Was using the wrong setting. Should have been `setPasswordSuccessPath` not `setPasswordSuccess`!
  
  
  ---
  
  