<p>You can. You have to build some front end forms:</p>

<ol>
<li><strong>Forgot Password Form</strong> (<a href="http://buildwithcraft.com/docs/templating/forgot-password-form" rel="nofollow">http://buildwithcraft.com/docs/templating/forgot-password-form</a>)</li>
<li><strong>Set Password Form</strong> (<a href="http://buildwithcraft.com/docs/templating/set-password-form" rel="nofollow">http://buildwithcraft.com/docs/templating/set-password-form</a>)</li>
</ol>

<p>Be aware of the config setting, <a href="http://buildwithcraft.com/docs/config-settings#setPasswordPath" rel="nofollow">setPasswordPath</a>.</p>

<p>It's also worth noting that a user account with control panel privileges will be redirected to the control panel set password and login no matter what.</p>

<p>Edit:
Also, check out <a href="http://buildwithcraft.com/docs/config-settings#setPasswordSuccessPath" rel="nofollow">setPasswordSuccessPath</a> for redirecting the user after they've successfully set their new password. Again, this only applies to non admin users that have completed this process using the front end forms you have setup.</p>

CC BY-SA 3.0
2014-09-03T14:14:22.570Z
Perfect, I had missed that, thank you Peter.
Gareth
CC BY-SA 3.0
2014-11-16T19:39:42.413Z
Shouldn't this work when filling in the hidden input value?

    <input type="hidden" name="redirect" value="{{ siteUrl }}/service">

For me it doesn't, but it seems it should, without the need to fill in those variables in the config.
Tom De Smet
CC BY-SA 3.0
2016-01-13T08:41:36.750Z
I've created a new password set form in my templates folder and updated the setPasswordPath using the following in `config/general.php` but it's still pointing to the standard page. Any ideas?

`return array(
    'setPasswordPath' => 'user/set-password'
);`
richardpixel
CC BY-SA 3.0
2014-09-03T13:57:50.560Z
2014-09-03T14:16:06.930Z
2014-09-03T14:16:06.930Z
Peter Tell
<p>At the moment when a user clicks on the forgot password link in an email the following happens:</p>

<ol>
<li>User is redirected to the forgot password page.</li>
<li>User enters their new password.</li>
<li>User is redirected to the Craft admin login page.</li>
</ol>

<p>Is there a way to set where they are sent to? For example, if they do not have admin access I don't want to be showing them the admin login page.</p>

<p>Thanks,</p>

<p>Gareth</p>

<form><password>
Can you set the redirect path for system forgot password form?
# Can you set the redirect path for system forgot password form?

(Asked by: username_0 on 2014-09-03)

At the moment when a user clicks on the forgot password link in an email the following happens:

1. User is redirected to the forgot password page.
2. User enters their new password.
3. User is redirected to the Craft admin login page.

Is there a way to set where they are sent to? For example, if they do not have admin access I don't want to be showing them the admin login page.

Thanks,

username_0

**Tags:** form, password


---

## 1 answers

### Answer by username_1 on 2014-09-03. Score: 5 | Accepted answer

You can. You have to build some front end forms:

1. **Forgot Password Form** (<http://buildwithcraft.com/docs/templating/forgot-password-form>)
2. **Set Password Form** (<http://buildwithcraft.com/docs/templating/set-password-form>)

Be aware of the config setting, [setPasswordPath](http://buildwithcraft.com/docs/config-settings#setPasswordPath).

It's also worth noting that a user account with control panel privileges will be redirected to the control panel set password and login no matter what.

Edit:
Also, check out [setPasswordSuccessPath](http://buildwithcraft.com/docs/config-settings#setPasswordSuccessPath) for redirecting the user after they've successfully set their new password. Again, this only applies to non admin users that have completed this process using the front end forms you have setup.

> **Comments:**
> **username_0**: Perfect, I had missed that, thank you Peter.  
> **username_2**: Shouldn't this work when filling in the hidden input value?      <input type="hidden" name="redirect" value="{{ siteUrl }}/service">  For me it doesn't, but it seems it should, without the need to fill in those variables in the config.  
> **username_3**: I've created a new password set form in my templates folder and updated the setPasswordPath using the following in `config/general.php` but it's still pointing to the standard page. Any ideas?  `return array(     'setPasswordPath' => 'user/set-password' );`  

---

