[Technical-Support] LPS-45660 StaleObjectStateException on password update with LDAP export and email address verification

Hi Marcellus,

I copied Vilmos's comments for this fix:
"
I found this issue during the testing of https://issues.liferay.com/browse/LPS-45580

I fixed it by changing the return value from User to void of some methods related to passwordUpdate and reload the user from the enityCache before further usage.

The LDAP export is mandatory for this, and I think the email verification also a must.
"

Regards,
Zsaga