I've broken password reset

Hello,

I’ve somehow broken password reset. The “workflow” completes without errors but it doesn’t change the password.

I’ve made sure the various password reset pages have been saved with admin rights.

When I look at the user’s profile page it doesn’t look like it is being modified with the new password:

image

Any ideas what I could have done wrong? Could I have accidentally changed permissions on some pages?

If it makes a difference this is XWiki 9.5.1

Thanks,
Ben

I would really appreciate some help on this guys! :slight_smile:

I don’t know how this feature works.

What I can tell you is that the page is XWiki.ResetPassword. If you edit it you can see what it does and it has some explanations I think.

Also seems to be using XWiki.ResetPasswordComplete, XWiki.ResetPasswordMailContent and XWiki.ResetPasswordRequestClass

I see that ResetPasswordComplete requires PR for ex. Maybe you saved it with a user not having PR? Inside the page it says:

!!!!! IMPORTANT !!!!!

This document requires programming rights, so always make sure
it is saved by a user with programming rights, and that
it is secured against unprivileged editing.

If you test it in a fresh XWiki 9.8.1 for example, does it work?

Solved in this post.

Thanks,
Ben