Answers.Body: <p>I'm not sure there's a good solution for this in Craft 2 without some custom plugin logic.</p>
  
  <p>To be fair, this was the same behavior in Craft 3 until <a href="https://github.com/craftcms/cms/issues/3029" rel="nofollow noreferrer">pretty recently</a> as well.</p>
  
  <p>You might want to comment on that Github issue to see about the feasibility of backporting something to Craft 2 for this.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T00:13:57.490Z
Answers.LastActivityDate: 2018-10-11T00:13:57.490Z
Answers.UserDisplayName: Brad Bell
Body: <p>I am using Craft 2 and trying to forward users to the right template according to the current active site's language when they reset their password. The problem is that the reset URL that Craft creates and sends the user's email only forwards it to the primary site.</p>
  
  <p>To be more clear, if the user changed site language to Germany and sends for a reset password request, the URL sent to his email sends him to the primary site, which is the French  one.</p>
  
  <p>I added the setPasswordPath in the config file as such:</p>
  
  <pre><code>'setPasswordPath' =&gt; array(
      'de' =&gt; 'de/passwordreset'
      'fr' =&gt; 'passwordreset',
  ),
  </code></pre>
  
  <p>But still not working. What am I doing wrong?</p>
  
Tags: <craft2>
Title: Forward users to the right template according to the current active site's language
ThreadText: # Forward users to the right template according to the current active site's language
  
  (Asked by: username_0 on 2018-10-10)
  
  I am using Craft 2 and trying to forward users to the right template according to the current active site's language when they reset their password. The problem is that the reset URL that Craft creates and sends the user's email only forwards it to the primary site.
  
  To be more clear, if the user changed site language to Germany and sends for a reset password request, the URL sent to his email sends him to the primary site, which is the French one.
  
  I added the setPasswordPath in the config file as such:
  
  ```
  'setPasswordPath' => array(
      'de' => 'de/passwordreset'
      'fr' => 'passwordreset',
  ),
  
  ```
  
  But still not working. What am I doing wrong?
  
  **Tags:** craft2
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-10-11. Score: 1
  
  I'm not sure there's a good solution for this in Craft 2 without some custom plugin logic.
  
  To be fair, this was the same behavior in Craft 3 until [pretty recently](https://github.com/craftcms/cms/issues/3029) as well.
  
  You might want to comment on that Github issue to see about the feasibility of backporting something to Craft 2 for this.
  
  
  ---
  
  