I think I am completely blind I would like to have the possibility that a user can change his password.
So he enters his current password and two times the new password.
First I want to check if the current password is correct and if yes, then set a new password.
Both checking the current password and changing a password I can’t get it to work. I can’t find anything in the SecurityContext and I can’t find anything in the AuthenticationController or AuthenticationManager that really helps me.
Does anyone have a tip for me where to look to find suitable functions?
thank you very much for your prompt reply. I’m very sorry, I missed the most important point: I’m using Neos Flow 6.3.0. I would like to code the possibility of changing the password in my own system.
It’s always a problem when you know what you want yourself, but you don’t tell half of it. Please excuse me
Unfortunately, I then see that the two, despite the same password entry do not match. When creating a new user account we take the “default” strategy - that’s why I didn’t specify anything else as “hash strategy” here.
Does anyone have an idea why the two hashes do not match? I’m guessing it’s because of the “salt”, but I’m not an expert in that area.