Password changed on update user without given any setPassword() or setPlainPassword()
lilworks opened this issue · 2 comments
lilworks commented
I don't understand why password changed on user update without given any setPassword() or setPlainPassword()
How can I prevent this? Or give the same old password on update user?
rpineda commented
The same thing happens to me in symfony v4.18.4 and fosUserBundle ^ 2.1.
********* UPDATE *********
I have fixed the error by removing the password property from the object if it goes blank or null.
stof commented
I fear there is not enough detail to be able to help here.