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?