I'm trying to make a custom page for setting a new password. I found the following in the docs: https://docs.craftcms.com/v3/dev/examples/set-password-form.html

I created a file called setpassword.twig in my templates folder but it isn't shown when I click the link in the email.

What am I doing wrong? Needs the template to be somewhere else?

  • From the link, did you set the setPasswordPath config setting as well? – Brad Bell Aug 24 '18 at 22:46
  • Yes, but I set it to the default value, which is 'setpassword' – obs Aug 25 '18 at 8:26
  • 1
    Are you testing with a non-admin user? – CraftQuest Aug 25 '18 at 20:19
  • @Mijingo you are right, it works for non-admin users. Thanks for pointing that out. – obs Aug 29 '18 at 6:26

Your Answer

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

Browse other questions tagged or ask your own question.