Craft 3 setPasswordPath config not working for front end users How do I change the link that's sent in a forgot password email that's sent to front end users in Craft 3? The setPasswordPath config isn't working for me.

The users don't have access to the CP. In my global config settings I have 'setPasswordPath' =&gt; '/account/set-password' I have a template based on the doc's Set Password Form example that loads at mysite.test/account/set-password.

The email is sent via a template that is based on the doc's Forgot Password Form example.

The links in the emails look like this: mysite.test/actions/users/set-password?code=r8tyzUikpXko0b2o5A785TC73geK0jvh&amp;id=a91a64a3-8869-4f0d-a11b-2ad54d69303c

I want them to link to my template like this: mysite.test/account/set-password?code=r8tyzUikpXko0b2o5A785TC73geK0jvh&amp;id=a91a64a3-8869-4f0d-a11b-2ad54d69303c

What am I doing wrong?
If you really want to change the password action url (not the password path) you can only do that in your Twig template and use the |replace('actions/users/set-password', 'account/set-password') filter.

The action url is hard coded in PHP and I would suggest you not to change it unless you know what you are doing. It would by default route to an action that does several important things and then redirects to the passwordPath.

So when you replace the route you should include the logic into your custom controller or create a site url rule to the default action