setPasswordPath being ignored Any idea why the following would be ignored following a frontend new password form? The user group does not have access to the control panel.

'setPasswordPath' =&gt; 'account/login/password/new',


The following success path on the next line works fine:

'setPasswordSuccessPath' =&gt; 'account/login/password/done',


The user workflow:


Start on frontend Register form with firstname, lastname, email and password.
Account created and user is logged-in. No email confirmation needed.
User logs out.
User completes Forgotten Password form and email is sent.
User clicks password link in email and sees the Craft CMS password form.


I've tried this with and without the email address having a pre-existing Craft Commerce order associated with it. The result is the same.
Picking this up with another project, it looks like the problem was me not specifying a template path as the 'setPasswordPath' config setting. Instead, I was passing a route. I was doing this because I wanted to use the same password template to handle everything to do with passwords. This isn't possible, by the looks of it, because the controller is looking for the existence of a file (as opposed to a template being returned from a route or URI).

As soon as I changed it to a strict template path everything worked fine, and the following line in UsersController.php no longer returns false:

if (craft()-&gt;templates-&gt;doesTemplateExist($templatePath))


So this is solved.