<p>Currently nothing native like that. The full list of Craft config settings can be found <a href="http://buildwithcraft.com/docs/config-settings" rel="nofollow">here</a>.</p>

<p>You might want to consider adding this as a <a href="https://feedback.buildwithcraft.com" rel="nofollow">feature request</a>, though!</p>

CC BY-SA 3.0
2015-11-11T21:14:05.563Z
2015-11-11T21:14:05.563Z
Brad Bell
<p>I think you can do this by using the following hidden field in your template:</p>

<pre><code>&lt;input type="hidden" name="redirect" value="path/after_reset"&gt;
</code></pre>

<p>See this page for more details: <a href="https://craftcms.com/docs/templating/set-password-form" rel="nofollow">Craft Set Password Form Template</a></p>

CC BY-SA 3.0
2016-04-09T16:31:39.077Z
2016-04-09T16:31:39.077Z
Jay Haase
<p>I like the setting <code>autoLoginAfterAccountActivation</code>. Is there something similar to log in users after a password reset?</p>

<p>I can approximate this by using the <code>users.onSetPassword event</code>, confirming the user isn't already logged in (i.e. using a normal set password form), and confirming that the user model doesn't have an unverifiedEmail value (i.e. is a brand new user), and then using <code>craft-&gt;userSession-&gt;loginByUserId()</code> but this seems like a very roundabout and potentially stupid way to do this.</p>

<login><password>
Auto login after password reset?
# Auto login after password reset?

(Asked by: username_0 on 2015-11-11)

I like the setting `autoLoginAfterAccountActivation`. Is there something similar to log in users after a password reset?

I can approximate this by using the `users.onSetPassword event`, confirming the user isn't already logged in (i.e. using a normal set password form), and confirming that the user model doesn't have an unverifiedEmail value (i.e. is a brand new user), and then using `craft->userSession->loginByUserId()` but this seems like a very roundabout and potentially stupid way to do this.

**Tags:** login, password


---

## 2 answers

### Answer by username_1 on 2015-11-11. Score: 1

Currently nothing native like that. The full list of Craft config settings can be found [here](http://buildwithcraft.com/docs/config-settings).

You might want to consider adding this as a [feature request](https://feedback.buildwithcraft.com), though!


---

### Answer by username_2 on 2016-04-09. Score: 0

I think you can do this by using the following hidden field in your template:


See this page for more details: Craft Set Password Form Template


---

