Is it possible to change how the password reset box appears when a user requests a password reset? Ideally we would like to include the same functionality but within a page that we have control over so that it looks like the same website users are used to.


Set the setPasswordPath config setting to a template in your craft/templates folder and you style the page however you want.

The form itself would need to be similar to the "Set Password Form" template example in the docs.

  • Excellent, thanks! What would need to be done for the form itself? Would it suffice to just start with what exists in craft/app/templates/setpassword.html? It doesn't look like that form defines an action unless I'm blind. Would I have to point it to a specific action?
    – John O
    Nov 9 '15 at 22:49
  • Updated my answer.
    – Brad Bell
    Nov 9 '15 at 22:59
  • Brad, I'm running into an issue. We want the set password form to include both a password field and a "confirm password" field, which I want to validate in a custom controller. However, even when I have the hidden action input in the form set to my custom controller, the controller that gets run is always users/setpassword. I think this is due to the URL of the form page. Do you have any suggestions?
    – John O
    Nov 13 '15 at 15:25
  • 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' ); Jan 13 '16 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.