<p>I've found the problem: The test account had control panel privileges and was therefore redirected to the control panel set password page. This behaviour makes absolutely sense.</p>

CC BY-SA 3.0
2014-11-16T15:28:25.847Z
2014-11-16T15:28:25.847Z
MISC
<p>Try checking out this config setting <a href="http://buildwithcraft.com/docs/config-settings#setPasswordPath" rel="nofollow">http://buildwithcraft.com/docs/config-settings#setPasswordPath</a></p>

<p>Add your path in the craft/config/general.php</p>

<pre><code>return array(
    'setPasswordPath' =&gt; 'login/set-password' // or wherever your template is
);
</code></pre>

CC BY-SA 3.0
2014-12-04T03:53:13.167Z
2014-12-04T03:53:13.167Z
Matt Green
<p>I have a forgotpassword form on my front-end. This works and generates reset password e-mails. But the reset url leads not to the front-end, but to the back-end.</p>

<p>What I've already tried to fix the problem:</p>

<ul>
<li>setpassword template on the front-end (setpassword.html)</li>
<li>route setpassword to setpassword.html</li>
</ul>

<p>What am I doing wrong?</p>

<p>Thanks for your help!</p>

<password>
Forgotpassword: wrong url in reset password e-mail
# Forgotpassword: wrong url in reset password e-mail

(Asked by: username_0 on 2014-11-16)

I have a forgotpassword form on my front-end. This works and generates reset password e-mails. But the reset url leads not to the front-end, but to the back-end.

What I've already tried to fix the problem:

* setpassword template on the front-end (setpassword.html)
* route setpassword to setpassword.html

What am I doing wrong?

Thanks for your help!

**Tags:** password

---

## 2 answers

### Answer by username_0 on 2014-11-16. Score: 3 | Accepted answer

I've found the problem: The test account had control panel privileges and was therefore redirected to the control panel set password page. This behaviour makes absolutely sense.


---

### Answer by username_1 on 2014-12-04. Score: 2

Try checking out this config setting http://buildwithcraft.com/docs/config-settings#setPasswordPath
Add your path in the craft/config/general.php
return array(
    'setPasswordPath' => 'login/set-password' // or wherever your template is
);


---

